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.
On Move

Events


Game - UnitMovingEvent becomes Equal to 1.00

Conditions


(Unit-type of UDexUnits[1]) Equal to Molten Giant

Actions


Set RCSS_EventLocation = (Position of UDexUnits[1])


Set RCSS_EventMagnitude = 50.00


Set RCSS_EventMaxRange = 1000.00


Trigger - Run CSS New Event <gen> (ignoring conditions)
You'll need a looping trigger to constantly cause a camera shake near the unit.
To use the Is Unit Moving system, you need both a start (UnitMovingEvent becomes Equal to 1.00) and a stop (UnitMovingEvent becomes Equal to 2) trigger.
On start:
Add UDexUnits[UDex] to a unit group
On stop:
Remove UDexUnits[UDex] from that unit group
Every second (or less):
Pick every unit in your unit group, set RCSS_EventLocation to the position of picked unit and run the camera shake system
Init

Events


Map initialization

Conditions

Actions


Set UDexUnits[1] = Molten Giant 0392 <gen>
On Move

Events


Game - UnitMovingEvent becomes Equal to 1.00

Conditions

Actions


Unit Group - Add UDexUnits[1] to Molteno
On Stop

Events


Game - UnitMovingEvent becomes Equal to 2.00

Conditions

Actions


Unit Group - Remove UDexUnits[1] from Molteno
Run Shake

Events


Time - Every 0.50 seconds of game time

Conditions

Actions


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



Loop - Actions




Set RCSS_EventLocation = (Position of UDexUnits[1])




Set RCSS_EventMagnitude = 100.00




Set RCSS_EventMaxRange = 1000.00




Trigger - Run CSS New Event <gen> (ignoring conditions)
You don't need to manually set UDexUnits[], the Unit Indexer trigger does this for you automatically.
On move trigger:
Event is fine
Condition: UDexUnits[UDex] == Molten Giant
Unit Group - Add Molten Giant to Molteno
(do the same for on stop trigger)
In the Run Shake trigger, use position of (Picked unit)
On Move

Events


Game - UnitMovingEvent becomes Equal to 1.00

Conditions


(Unit-type of UDexUnits[UDex]) Equal to Molten Giant

Actions


Unit Group - Add UDexUnits[UDex] to Molteno
On Stop

Events


Game - UnitMovingEvent becomes Equal to 2.00

Conditions


(Unit-type of UDexUnits[UDex]) Equal to Molten Giant

Actions


Unit Group - Remove UDexUnits[UDex] from Molteno
Shake

Events


Time - Every 1.00 seconds of game time

Conditions

Actions


Set RCSS_EventLocation = (Position of (Picked unit))


Set RCSS_EventMagnitude = 100.00


Set RCSS_EventMaxRange = 1000.00


Trigger - Run CSS New Event <gen> (ignoring conditions)
