- Joined
- Jan 11, 2018
- Messages
- 23
the floating text doesn't appear nor does the item that he is supposed to get
-
Item
-
Events
- Unit - A unit Acquires an item
-
Conditions
- (Item being manipulated) Equal to (Item carried by (Hero manipulating item) of type Random Weapon)
-
Actions
- Set ItemGuyPosition = (Position of (Hero manipulating item))
- Hero - Drop (Item carried by (Hero manipulating item) of type Random Weapon) from (Hero manipulating item)
- Item - Remove (Last dropped item)
- Set RNG = (Random integer number between 1 and 100)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- RNG Greater than or equal to 1
-
Then - Actions
- Set RNG = (Random integer number between 1 and 3)
- Hero - Create RandomItemCommon[RNG] and give it to (Hero manipulating item)
- Floating Text - Create floating text that reads (Name of (Last created item)) at ItemGuyPosition with Z offset 0.00, using font size 9.00, color (0.00%, 100.00%, 0.00%), and 0.00% transparency
- Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
- Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
- Custom script: call RemoveLocation (udg_ItemGuyPosition)
- Else - Actions
-
If - Conditions
-
Events