Trigger Help ( Cinematic and other Trigger)

Discussion in 'World Editor Help' started by robinremue, Sep 3, 2005.

  1. robinremue

    robinremue Member

    I have a problem with 2 triggers.

    1) These Doesn't really work at all ingame :confused:
    It does this: when a certain unit dies, Both heros(of player1and 2) Teleport to a location, then they fight, when one of them dies he revives and shoots an ability to the other, the other repsonds with an ability of its own, then the hero of player 2 transform into another unit. Then player1 must survive some time. After that time, some messages appear and then they become allies and teleport to a different location. ( for those who didn't know this Vegeta fighting Goku in the saiyan Saga of DBZ)

    Code:
        Events
            Unit - A unit Dies
        Conditions
            (Dying unit) Equal to Radditz
        Actions
            Game - Display to Player Group - Player 1 (Red) the text: Radditz: It doesn't...
            Hero - Add 1000 experience to (Killing unit), Hide level-up graphics
            Wait 5.00 seconds
            Unit - Move (Killing unit) instantly to (Center of Goku <gen>)
            Unit - Move Vegeta instantly to (Center of Vegeta <gen>)
            Player - For Player 1 (Red), turn Alliance (non-aggression) Off toward Player 2 (Blue)
            Player - For Player 2 (Blue), turn Alliance (non-aggression) Off toward Player 1 (Red)
            Game - Display to (All players controlled by a User player) the text: Goku: Ok Vegeta, Le...
            Wait 2.00 seconds
            Trigger - Turn on Oozaru Vegeta <gen>

    Code:
    Events
            Unit - A unit Dies
        Conditions
            ((Unit-type of (Dying unit)) Equal to g_o_k_u) or ((Unit-type of (Dying unit)) Equal to Vege_T_A)
        Actions
            Hero - Instantly revive (Dying unit) at (Center of Vegeta2 <gen>), Hide revival graphics
            Cinematic - Turn cinematic mode On for (All players)
            Cinematic - Turn on letterbox mode (hide interface) for (All players): fade out over 2.00 seconds
            Cinematic - Disable user control for (All players)
            Unit - Make (Killing unit) Invulnerable
            Unit - Move (Killing unit) instantly to (Center of Goku2 <gen>), facing (Center of Vegeta2 <gen>)
            Unit - Make (Reviving Hero) Invulnerable
            Set CineGallickgun = (Position of adultgoku)
            Set Cinekamehameha = (Position of Vegeta)
            Camera - Pan camera for Player 1 (Red) to (Center of CameraPan1 <gen>) over 0.00 seconds
            Camera - Pan camera for Player 2 (Blue) to (Center of CameraPan1 <gen>) over 0.00 seconds
            Wait 2.00 seconds
            Game - Display to (All players) the text: Vegeta: Now I will ...
            Wait 2.00 seconds
            Unit - Create 1 Gallick Gun for (Triggering player) at ((Position of Vegeta) offset by 75.00 towards (Facing of adultgoku) degrees) facing CineGallickgun
            Wait 1.00 seconds
            Game - Display to Player Group - Player 1 (Red) the text: Kamehame....ha!!!!!
            Unit - Create 1 Kamehameha for Player 1 (Red) at ((Position of adultgoku) offset by 75.00 towards (Facing of Vegeta) degrees) facing Cinekamehameha
            Wait 2.00 seconds
            Game - Display to (All players) the text: Vegeta: It cannot e...
            Wait 2.00 seconds
            Unit - Replace Vegeta with a Oozaru using The new unit's default life and mana
            Set Vegeta = (Last replaced unit)
            Wait 1.00 seconds
            Unit - Make Vegeta Vulnerable
            Unit - Make adultgoku Vulnerable
            Wait 1.00 seconds
            Cinematic - Turn cinematic mode Off for (All players)
            Cinematic - Turn off letterbox mode (show interface) for (All players): fade in over 2.00 seconds
            Cinematic - Enable user control for (All players)
            Game - Display to Player Group - Player 1 (Red) the text: Run from Oozaru Veg...
            Wait 60.00 seconds
            Game - Display to (All players) the text: Yajirobe: Ayaahh  V...
            Wait 2.00 seconds
            Game - Display to (All players) the text: Yayirobe: *Sword Sl...
            Wait 2.00 seconds
            Game - Display to Player Group - Player 1 (Red) the text: Goku: Wow thanks ya...
            Game - Display to Player Group - Player 2 (Blue) the text: Vegeta: Defeated by...
            Unit - Move adultgoku instantly to (Center of Master Roshi Island <gen>)
            Unit - Move Vegeta instantly to (Center of Janemba Location <gen>)
            Player - For Player 1 (Red), turn Alliance (non-aggression) On toward Player 2 (Blue)
            Player - For Player 2 (Blue), turn Alliance (non-aggression) On toward Player 1 (Red)
            Wait 1.00 game-time seconds
            Trigger - Turn off (This trigger)
    2) I want to make abilities do damage depending on the units intelligence :D


    Thanks

Share This Page