Hi everyone, i have game crash problem that occures every time when hero dies.(out of memory error...)
it started when after i had put this triggers:
it started when after i had put this triggers:
-
Revive
-
Events
- Unit - A unit Dies
-
Conditions
- ((Triggering unit) is A Hero) Equal to True
- ((Owner of (Triggering unit)) controller) Equal to User
-
Actions
- Countdown Timer - Start (Expiring timer) as a One-shot timer that will expire in 10.00 seconds
- Wait 10.00 seconds
- Set loc = (Random point in Respawn_Region[(Player number of (Owner of (Triggering unit)))])
- Hero - Instantly revive (Triggering unit) at loc, Hide revival graphics
- Custom script: call RemoveLocation(udg_loc)
-
Events
-
Revieve part2
-
Events
- Unit - A unit Dies
-
Conditions
- (Hero level of (Triggering unit)) Greater than or equal to 9
- ((Triggering unit) is A Hero) Equal to True
- ((Owner of (Triggering unit)) controller) Equal to User
-
Actions
- Player - Set Player 1 (Red) Current gold to 0
-
Events