Monsters Dropping items?

dead-manakin

New Member
Reaction score
5
I cant find out how to make the mosters in my map randomly drop items. The way I want to do it is by saying this...

EVENTS-----
Unit - A unit owned by neutral hostile dies.
CONDITIONS-----
Unit - Type of Triggering unit is equal to "____"
ACTIONS-----
Integer - pick random integer between 1 and 200.
If - If random integer is equal to "199" Spawn item (Book of death) at point.
If - If random integer is equal to "159" Spawn item (Book of death) at point.
If - If random integer is equal to "129" Spawn item (Book of death) at point.
If - If random integer is equal to "9" Spawn item (Book of death) at point.


Though I dont know how to pick a random integer...

sniff sniff
......................
If only you guys could help me in some way... SNIFFFFF....:banghead::(:(
 

Moridin

Snow Leopard
Reaction score
144
For the condition, it's Integer Comparison.

Look under the function list (drop down menu) for :

Math - Random number
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top