[General] Regional Invisibility

Status
Not open for further replies.
Level 4
Joined
Nov 17, 2015
Messages
91
Hi! I'd like to know how to give someone invisibility if they Enter a region? Then make them lose it instantly upon leaving it? Pictures are appreciated. Thanks in advance!!! :goblin_good_job:
 
Create a unit group variable, call it for example "InvsGroup"
then do these
  • Enter
    • Events
      • Unit - A unit enters Invisible <gen>
    • Conditions
      • (Level of Ghost for (Triggering unit)) Equal to 0
    • Actions
      • Unit - Add Ghost to (Triggering unit)
      • Unit Group - Add (Triggering unit) to InvsGroup
  • Leave
    • Events
      • Unit - A unit leaves Invisible <gen>
    • Conditions
      • ((Triggering unit) is in InvsGroup) Equal to True
    • Actions
      • Unit - Remove Ghost from (Triggering unit)
      • Unit Group - Remove (Triggering unit) from InvsGroup
 
Create a unit group variable, call it for example "InvsGroup"
then do these
  • Enter
    • Events
      • Unit - A unit enters Invisible <gen>
    • Conditions
      • (Level of Ghost for (Triggering unit)) Equal to 0
    • Actions
      • Unit - Add Ghost to (Triggering unit)
      • Unit Group - Add (Triggering unit) to InvsGroup
  • Leave
    • Events
      • Unit - A unit leaves Invisible <gen>
    • Conditions
      • ((Triggering unit) is in InvsGroup) Equal to True
    • Actions
      • Unit - Remove Ghost from (Triggering unit)
      • Unit Group - Remove (Triggering unit) from InvsGroup

What do you need the unit group for? Seems like it is not used for anything in those triggers. Am I missing something?
 
Create a unit group variable, call it for example "InvsGroup"
then do these
  • Enter
    • Events
      • Unit - A unit enters Invisible <gen>
    • Conditions
      • (Level of Ghost for (Triggering unit)) Equal to 0
    • Actions
      • Unit - Add Ghost to (Triggering unit)
      • Unit Group - Add (Triggering unit) to InvsGroup
  • Leave
    • Events
      • Unit - A unit leaves Invisible <gen>
    • Conditions
      • ((Triggering unit) is in InvsGroup) Equal to True
    • Actions
      • Unit - Remove Ghost from (Triggering unit)
      • Unit Group - Remove (Triggering unit) from InvsGroup

Thanks aton!!! :goblin_good_job:
 
Status
Not open for further replies.
Back
Top