Unit visibility

Status
Not open for further replies.
here are the triggers, one for share vision one for deactivating:

Code:
>1st trigger:

Events
    Unit - A unit Begins construction

Conditions
    (Constructing structure) Equal to No unit

Actions
    Player Group - Pick every player in (All players) and do (Actions)
        Loop - Actions
            Unit - Grant shared vision of (Constructing structure) to (Picked player)


>2nd trigger:

Events
    Unit - A unit Dies

Conditions
    (Dying unit) Equal to No unit

Actions
    Player Group - Pick every player in (All players) and do (Actions)
        Loop - Actions
            Unit - Deny shared vision of (Dying unit) to (Picked player)



thats all. if you have more units than one that should share vision, just remove the condition and put an if-then-else action before the actions above. if somethin is still unclear, post again and i give you the trigger for that too. :wink:
 
Status
Not open for further replies.
Back
Top