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.
Trigger
Events

Time - Every 1.00 seconds of game-time
Conditions
Actions

Custom script: set bj_wantDestroyGroup = true

Unit Group - Pick every unit in (Units in (Playable Map Area)) and do (Actions)


Loop - Actions



Set Point = (Position of (Picked unit))



If (All conditions are true) then do (Actions) else do (Actions)




If - Conditions





(Point is blighted) Equal to False //Boolean Comparison (Environment - Point is blighted)





((Picked unit) is Undead) Equal to True //Boolean comparison (Unit - Unit classification)




Then - Actions





Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - 5.00)




Else - Actions



Custom script: call RemoveLocation (udg_Point)
Unit Group - Pick every unit in (Units in (Playable Map Area)) and do (Actions)
Yes, point variable.
