i want my basic enemy to randomly drop something and other times not drop anything so people cant farm
1 Like
do a timeout script that says something like
Trigger:[every second]
Actions:
For all units (In the game)
Do:
wait (random number from (5000) to (100000))
Then do:
make (selected unit) drop (random item in (enemy loot))
1 Like
if u want a specific unit to do this then do this script
Trigger:[every second]
Actions:
For all units (In the game)
Do:
If Unit type of (selected unit) == (Unit)
Then Do:
wait (random number from (5000) to (100000))
Then do:
make (selected unit) drop (random item in (enemy loot))
Else:
1 Like
thanks, this is very helpful
1 Like