Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Felsong Escape :)

Discussion in 'Map Development' started by ToPsYoNe, Jun 11, 2012.

  1. ToPsYoNe

    ToPsYoNe

    Joined:
    Oct 5, 2010
    Messages:
    63
    Resources:
    2
    Maps:
    2
    Resources:
    2
    Hello Guys !!
    im posting there to see if someone can tell me if my trigger have leaks, i havn't Leaks Check, my computer bugg when i try to install them :( i know how to remove leaks, but on this trigger, i dont know ^^

    [trigger=My Trigger]TerrainMoveUpdate
    Events
    Temps - Elapsed game time is 0.10 seconds
    Conditions
    Actions
    Custom script: call RemoveLocation(udg_TerrainEffect[8])
    Custom script: call RemoveLocation(udg_TerrainEffect[9])
    Custom script: call RemoveLocation(udg_TerrainEffect[10])
    Custom script: call RemoveLocation(udg_TerrainEffect[11])
    Custom script: call RemoveLocation(udg_TerrainEffect[12])
    Custom script: call RemoveLocation(udg_TerrainEffect[13])
    Set TerrainType[8] = Northrend - Neige
    Set TerrainType[9] = Dalaran - Marbre noir
    Set TerrainEffect[8] = (Center of TerrainMove1 <gen>)
    Set TerrainEffect[9] = (Center of TerrainMove2 <gen>)
    Set TerrainEffect[10] = (Center of TerrainMove3 <gen>)
    Set TerrainEffect[11] = (Center of TerrainMove4 <gen>)
    Set TerrainEffect[12] = (Center of TerrainMove5 <gen>)
    Set TerrainEffect[13] = (Center of TerrainMove6 <gen>)
    [/trigger]

    [trigger=And this]TerrainMove1
    Events
    Temps - Elapsed game time is 1.00 seconds
    Conditions
    TerrainType[8] Egal Ã* Northrend - Neige
    Actions
    Environnement - Change terrain type at TerrainEffect[8] to TerrainType[9] using variation 1 in an area of size 1 and shape Carré
    Wait 1.00 seconds
    Environnement - Change terrain type at TerrainEffect[9] to TerrainType[9] using variation 1 in an area of size 1 and shape Carré
    Wait 1.00 seconds
    Environnement - Change terrain type at TerrainEffect[8] to TerrainType[8] using variation 1 in an area of size 1 and shape Carré
    Environnement - Change terrain type at TerrainEffect[10] to TerrainType[9] using variation 1 in an area of size 1 and shape Carré
    Wait 1.00 seconds
    Environnement - Change terrain type at TerrainEffect[9] to TerrainType[8] using variation 1 in an area of size 1 and shape Carré
    Environnement - Change terrain type at TerrainEffect[11] to TerrainType[9] using variation 1 in an area of size 1 and shape Carré
    Wait 1.00 seconds
    Environnement - Change terrain type at TerrainEffect[10] to TerrainType[8] using variation 1 in an area of size 1 and shape Carré
    Environnement - Change terrain type at TerrainEffect[12] to TerrainType[9] using variation 1 in an area of size 1 and shape Carré
    Wait 1.00 seconds
    Environnement - Change terrain type at TerrainEffect[11] to TerrainType[8] using variation 1 in an area of size 1 and shape Carré
    Environnement - Change terrain type at TerrainEffect[13] to TerrainType[9] using variation 1 in an area of size 1 and shape Carré
    Wait 1.00 seconds
    Environnement - Change terrain type at TerrainEffect[12] to TerrainType[8] using variation 1 in an area of size 1 and shape Carré
    Environnement - Change terrain type at TerrainEffect[13] to TerrainType[8] using variation 1 in an area of size 1 and shape Carré
    Trigger - Run (This trigger) (checking conditions)
    Trigger - Run TerrainMoveUpdate <gen> (checking conditions)
    [/trigger]

    Thx for your reply :p Edit : hmm i dont know if my thread is welcome here, Map development .... So sorry ;)
     
  2. This should be posted in the Triggering forum, just PM a mod to get it moved.
     
  3. ToPsYoNe

    ToPsYoNe

    Joined:
    Oct 5, 2010
    Messages:
    63
    Resources:
    2
    Maps:
    2
    Resources:
    2
    Okey but if someone reply, i can delete this thread ^^