Untitled Trigger 001
Events
Player - Player 1 (Red) types a chat message containing -cvalue as An exact match
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((picked unit) is selected by (Triggering player)) Equal to True
Then - Actions
Game - Display to (Player group((Triggering player))) the text: (Custom value is... + (String((Custom value of (Picked unit)))))
Else - Actions
Mine requires no variablesOwned lol
Why won't work? Cos of the "triggering player" ?Yours, however, creates leaks..
-Oh and more important, wont work.
Trigger
Events
Player - Player 1 (Red) skips a cinematic sequence
Conditions
Actions
Unit Group - Pick every unit in (Units currently selected by Player 1 (Red)) and do (Actions)
Loop - Actions
Game - Display to (Player group((Triggering player))) the text: (Custom Value is + (String((Custom value of (Picked unit)))))
If you give a man fish he'll be fed for a day, you teach a man to fish he will be fed for a life time
Custom Value
Events
Conditions
Actions
Set TempGroup = (Units currently selected by (Triggering player))
Unit Group - Pick every unit in TempGroup and do (Actions)
Loop - Actions
Game - Display to (Player group((Triggering player))) the text: ((Name of (Picked unit)) + ( Custom Value: + (String((Custom value of (Picked unit))))))
Custom script: call DestroyGroup(udg_TempGroup)
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Trigger - Add to Custom Value <gen> the event (Player - (Picked player) types a chat message containing -cvalue as An exact match)
Untitled Trigger 001
Events
Player - Player 1 (Red) types a chat message containing -cvalue as An exact match
Conditions
Actions
Set CValueCheck = True
Untitled Trigger 002
Events
Player - Player 1 (Red) types a chat message containing -cvalue off as An exact match
Conditions
Actions
Set CValueCheck = False
Untitled Trigger 003
Events
Player - Player 1 (Red) Selects a unit
Conditions
Night Equal to True
Actions
Game - Display to Player Group - Player 1 (Red) the text: (Custom Value of Unit: + (String((Custom value of (Triggering unit)))))