1. Are you planning to upload your awesome spell or system to Hive? Please review the rules here.
    Dismiss Notice
  2. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  3. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  4. Let your favorite entries duke it out in the 15th Techtree Contest Poll.
    Dismiss Notice
  5. Weave light to take you to your highest hopes - the 6th Special Effect Contest is here!
    Dismiss Notice
  6. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Trigger Viewer

Fake Death.w3x
Variables
Initialization
Melee Initialization
Fake Death
Fake Death
Stay Place
Map Engine
T1
T2
T3
Enter map-specific custom script code below. This text will be included in the map script after variables are declared and before any trigger code.

		
Name Type Is Array Initial Value
Default melee game initialization for all players
Melee Initialization
  Events
    Map initialization
  Conditions
  Actions
    Melee Game - Use melee time of day (for all players)
Fake Death
  Events
    Unit - A unit Begins casting an ability
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Ability being cast) Equal to Fake Death
      Then - Actions
        Animation - Play (Casting unit)'s death (animationname) animation
        Player Group - Pick every player in (All players) and do (Create a permanent Fleshy Blood Mage corpse for (Picked player) at (Position of (Casting unit)) facing (Facing of (Casting unit)) degrees)
        Trigger - Turn on Stay_Place <gen>
        Wait 0.01 seconds
        Animation - Change (Casting unit)'s size to (1.00%, 1.00%, 1.00%) of its original size
        Wait 20.00 seconds
        If (((Casting unit) has buff Wind Walk) Equal to True) then do (Do nothing) else do (Change (Casting unit)'s size to (100%, 100%, 100%) of its original size)
        If (((Casting unit) has buff Wind Walk) Equal to True) then do (Do nothing) else do (Resume corpse decay for (Casting unit))
        If (((Casting unit) has buff Wind Walk) Equal to True) then do (Do nothing) else do (Turn off Stay_Place <gen>)
        Wait 20.00 seconds
        If (((Casting unit) has buff Wind Walk) Equal to True) then do (Do nothing) else do (Change (Casting unit)'s size to (100%, 100%, 100%) of its original size)
        If (((Casting unit) has buff Wind Walk) Equal to True) then do (Do nothing) else do (Resume corpse decay for (Casting unit))
        If (((Casting unit) has buff Wind Walk) Equal to True) then do (Do nothing) else do (Turn off Stay_Place <gen>)
        Wait 20.00 seconds
        If (((Casting unit) has buff Wind Walk) Equal to True) then do (Do nothing) else do (Change (Casting unit)'s size to (100%, 100%, 100%) of its original size)
        If (((Casting unit) has buff Wind Walk) Equal to True) then do (Do nothing) else do (Resume corpse decay for (Casting unit))
        If (((Casting unit) has buff Wind Walk) Equal to True) then do (Do nothing) else do (Turn off Stay_Place <gen>)
      Else - Actions
        Do nothing
Stay Place
  Events
    Time - Every 0.01 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in (Units in (Playable map area)) and do (If (((Picked unit) has buff Wind Walk) Equal to True) then do (Order (Picked unit) to Stop.) else do (Do nothing))
T1
  Events
    Map initialization
  Conditions
  Actions
    Unit - Order Knight 0003 <gen> to Patrol To.(Center of Region_000 <gen>)
T2
  Events
    Unit - A unit enters Region_000 <gen>
  Conditions
  Actions
    If ((Owner of (Triggering unit)) Equal to Player 2 (Blue)) then do (Order Knight 0003 <gen> to Patrol To.(Center of Region_001 <gen>)) else do (Do nothing)
T3
  Events
    Unit - A unit enters Region_001 <gen>
  Conditions
  Actions
    If ((Owner of (Triggering unit)) Equal to Player 2 (Blue)) then do (Order Knight 0003 <gen> to Patrol To.(Center of Region_000 <gen>)) else do (Do nothing)