Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Trigger1
Events

Time - Every 10.00 seconds of game-time
Conditions
Actions

For each (Integer A) from 1 to 12, do (Actions)


Loop - Actions



Set Temp_Group = (Units owned by Player(IntegerA) of type Circle of Power)



Player - Add ((your base gold amount)*(Number of units in Temp_Group)) to (Player(IntegerA))



Custom script: call DestoryGroup (udg_Temp_Group)
Trigger2
Events

Time - Every 1.00 second of game-time
Conditions
Actions

Set Group = (Units of type (Circle of Power))

Unit Group - Pick up every unit in Group and do (Actions)


Loop - Actions



If/ Then/ Else




If (Conditions)





((Life of (Picked unit)) Less than or Equal to (0.5*(Max Life of (Picked unit)))




Then (Actions)





Unit - Change ownership of (Picked unit) to X




Else (Actions)

Custom script: call DestroyGroup (udg_Group)
PICK EVERY UNIT OF TYPE

Events


Map initialization

Conditions

Actions


Set UNITGROUP = (Units of type <Your Unit Type>)


Unit Group - Pick every unit in UNITGROUP and do (Actions)



Loop - Actions




Trigger - Add to HEALTH LEASS THAN 50% <gen> the event (Unit - (Picked unit)'s life becomes Less than ((Percentage life of (Picked unit)) - 50.00))


Custom script: call DestroyGroup(udg_UNITGROUP)


Trigger - Turn off (This trigger)
IF NEW UNIT OF TYPE ENTERS (if you train/build new unit)

Events


Unit - A unit enters (Entire map)

Conditions


(Unit-type of (Entering unit)) Equal to <Your Unit Type>

Actions


Trigger - Add to HEALTH LEASS THAN 50% <gen> the event (Unit - (Entering unit)'s life becomes Less than ((Percentage life of (Entering unit)) - 50.00))
HEALTH LEASS THAN 50%

Events

Conditions

Actions


-------- whatever you want---------(use triggering unit to refer to the damaged unit) --------
Change the "Art - Target Attachments" to 1.Why doesnt it work cause i want to add a weapon to a wraith Lord i got but it doesnt work why?