• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Map help with one trigger!!

Status
Not open for further replies.
Level 1
Joined
Jun 17, 2006
Messages
2
Lets start my probleme is item drops. Te normal mobs on map drop item but the spawn monster dont drop. And i read other topic item drop. Here are the trigger.
Event-
A unit dies

Conditions-
(dying unit) equal to <the creep that drops item>

Actions-
Set <itemdrops> to random number from 1 to 10

If/then/else-
-If <itemdrops> equal to 1
-then create (item) on position of (dying unit)
-else do nothing

If/then/else-
-If <itemdrops> greater than 1
-then do nothing
-else do nothing



in this trigger all are good but the probleme its i dunno where go for put trigger
Set <itemdrops> to random number from 1 to 10

If/then/else-
-If <itemdrops> equal to 1
-then create (item) on position of (dying unit)
-else do nothing

If/then/else-
-If <itemdrops> greater than 1
-then do nothing
-else do nothing

Can someone tell me where i need to go or give a map where this trigger are in plz.
 
Level 5
Joined
Nov 14, 2004
Messages
159
Night_Ghost said:
If/then/else-
-If <itemdrops> equal to 1
-then create (item) on position of (dying unit)
-else do nothing

If/then/else-
-If <itemdrops> greater than 1
-then do nothing
-else do nothing

You dont need second "If/Then/Else", that's what "else do nothing" is for in the first "If/Then/Else". But yeah do Ramza's method.

You said they never create item, did you kill very often to be sure? You gave it 10% chance to create item, try like kill 30 times (without leaving map) to check.
 
Status
Not open for further replies.
Top