• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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