- Joined
- Jan 30, 2013
- Messages
- 12,927
Would you mind share the triggers here?
TA Core

Events


Unit - A unit Starts the effect of an ability

Conditions

Actions


For each (Integer TTA_Short_HV) from 0 to TTA_Sp_Am, do (Actions)



Loop - Actions




If (All Conditions are True) then do (Then Actions) else do (Else Actions)





If - Conditions






(Ability being cast) Equal to TTA_Dood_CS[TTA_Short_HV]





Then - Actions






Set TTA_Sp_Loc = (Target point of ability being cast)






Trigger - Run Config Doodads <gen> (ignoring conditions)






If (All Conditions are True) then do (Then Actions) else do (Else Actions)







If - Conditions








TTA_White_or_Black[TTA_Short_HV] Equal to False







Then - Actions








Destructible - Pick every destructible within TTA_RoCS[TTA_Short_HV] of TTA_Sp_Loc and do (Actions)









Loop - Actions










For each (Integer TTA_ForLoop_Var) from 0 to TTA_Destr_BlackL_Am, do (Actions)











Loop - Actions












If (All Conditions are True) then do (Then Actions) else do (Else Actions)













If - Conditions














(Destructible-type of (Picked destructible)) Equal to TTA_Destr[((TTA_List_Limit x TTA_Short_HV) + TTA_ForLoop_Var)]













Then - Actions














Destructible - Make (Picked destructible) Invulnerable













Else - Actions







Else - Actions








Destructible - Pick every destructible within TTA_RoCS[TTA_Short_HV] of TTA_Sp_Loc and do (Actions)









Loop - Actions










For each (Integer TTA_ForLoop_Var) from 0 to TTA_Destr_BlackL_Am, do (Actions)











Loop - Actions












If (All Conditions are True) then do (Then Actions) else do (Else Actions)













If - Conditions














(Destructible-type of (Picked destructible)) Not equal to TTA_Destr[((TTA_List_Limit x TTA_Short_HV) + TTA_ForLoop_Var)]













Then - Actions














Destructible - Make (Picked destructible) Invulnerable













Else - Actions






Destructible - Pick every destructible within TTA_RoCS[TTA_Short_HV] of TTA_Sp_Loc and do (If (((Picked destructible) is invulnerable) Equal to False) then do (Destructible - Remove (Picked destructible)) else do (Destructible - Make (Picked destructible) Vulnerable))






Custom script: call RemoveLocation(udg_TTA_Sp_Loc)





Else - Actions
Config Destructibles

Events


Map initialization

Conditions

Actions


Set TTA_Destr_BlackL_Am = 1


Set TTA_List_Limit = 30


-------- ================ --------


Set TTA_Destr[0] = Ashenvale Tree Wall


Set TTA_Destr[1] = Barrel


-------- ============== --------


Set TTA_Destr[30] = Volcano


Set TTA_Destr[31] = Volcano
Config Spells

Events


Map initialization

Conditions

Actions


Set TTA_ForLoop_Var = 0


Set TTA_Short_HV = 0


Set TTA_Sp_Am = 1


-------- =============== --------


Set TTA_Dood_CS[0] = Dispel Magic


Set TTA_RoCS[0] = 256.00


Set TTA_White_or_Black[0] = False


Set TTA_Grass[0] = True


Set TTA_Rock[0] = True


-------- ================== --------


Set TTA_Dood_CS[1] = Rain of Fire (Neutral Hostile 2)


Set TTA_RoCS[1] = 300.00


Set TTA_White_or_Black[1] = True


Set TTA_Grass[1] = False


Set TTA_Rock[1] = False
Config Doodads

Events

Conditions

Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




TTA_Grass[TTA_Short_HV] Equal to True



Then - Actions




Animation - Play the hide animation for all doodads of type Grass within TTA_RoCS[TTA_Short_HV] of TTA_Sp_Loc



Else - Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




TTA_Rock[TTA_Short_HV] Equal to True



Then - Actions




Animation - Play the hide animation for all doodads of type Rock within TTA_RoCS[TTA_Short_HV] of TTA_Sp_Loc



Else - Actions