- Joined
- Apr 23, 2010
- Messages
- 312
A project i'm working on requires heroes in a pre defined group to automatically pickup items in a certain area around their current position. I cant seem to find any spells or threads about this so maybe its something easy that I cant think of haha
-
Auto Pick Up
-
Events
- Time - Every 0.03 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in Heroes and do (Actions)
-
Loop - Actions
- Set temp_point = (Position of (Picked unit))
- Unit - Order R_Hero[(Player number of (Owner of (Picked unit)))] to Right-Click (Random item in (Region centered at temp_point with size (750.00, 750.00)))
- Custom script: call RemoveLocation(udg_temp_point)
-
Loop - Actions
-
Unit Group - Pick every unit in Heroes and do (Actions)
-
Events