Hi guys!
I'm currently creating a td, where i added an ability so the builder can use it and all of his towers will focus the selected mob.
By crashing I mean that the game completely freezes and you need to go to task administrator to close it, no error message is being displayed.
I also tried doing nothing for 8 minutes, in minute 8/8:20 aprox i cast the ability and the crash is still there.
What can be happening?
EDIT: Another thing to add is that if i change generic unit event to specific unit event crash disappears, but the units are dynamic.
Many thanks in advance!
I'm currently creating a td, where i added an ability so the builder can use it and all of his towers will focus the selected mob.
-
FocusAttack
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Focus |cffff0000Attack|r
-
Or - Any (Conditions) are true
-
Conditions
-
((Owner of (Target unit of ability being cast)) controller) Equal to (Player 10 (Light Blue) controller)
-
((Owner of (Target unit of ability being cast)) controller) Equal to (Player 11 (Dark Green) controller)
-
-
-
-
Actions
-
Custom script: set bj_wantDestroyGroup = true
-
Unit Group - Pick every unit in (Units in (Playable map area) owned by (Owner of (Casting unit))) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Picked unit) is A structure) Equal to True
-
-
Then - Actions
-
Unit - Order (Picked unit) to Attack (Target unit of ability being cast)
-
-
Else - Actions
-
-
-
-
-
By crashing I mean that the game completely freezes and you need to go to task administrator to close it, no error message is being displayed.
I also tried doing nothing for 8 minutes, in minute 8/8:20 aprox i cast the ability and the crash is still there.
What can be happening?
EDIT: Another thing to add is that if i change generic unit event to specific unit event crash disappears, but the units are dynamic.
Many thanks in advance!