need help with this game cache trigger.

rtatpi

New Member
Reaction score
3
hey, Ill get straight to the point and say yes, I have read and followed game cache tutorials. but, they seem to not want to work. can you guys check my triggers and see whats wrong? thanks

trigger in first map. silibi_the_game.w3x

Code:
entersilibisiege
    Events
        Player - Player 1 (Red) Selects a unit
    Conditions
        (Unit-type of (Triggering unit)) Equal to Blane
        ((Region centered at (Position of blane) with size (500.00, 500.00)) contains hero_unit) Equal to True
    Actions
        Cinematic - Turn cinematic mode On for (All players)
        Cinematic - Disable user control for (All players)
        Cinematic - Turn on letterbox mode (hide interface) for (All players): fade out over 0.00 seconds
        Camera - Apply Camera 005 <gen> for Player 1 (Red) over 2.00 seconds
        Unit - Make blane face hero_unit over 0.00 seconds
        Unit - Make hero_unit face blane over 0.00 seconds
        Cinematic - Send transmission to (All players) from blane named blanename: Play No sound and display Oh, great you're he....  Modify duration: Add 3.50 seconds and Wait
        Game Cache - Create a game cache from siege.w3v
        Set siegecache = (Last created game cache)
        Game Cache - Clear siegecache
        Game Cache - Store hero_unit as hero of hero in siegecache
        Game Cache - Save siegecache
        Game - Set the next level to Maps\Scenario\siegeofsilibi.w3x
        Game - Victory Player 1 (Red) (Skip dialogs, Skip scores)




trigger in second map. siegeofsilibi.w3x

Code:
Melee Initialization
    Events
        Map initialization
    Conditions
    Actions
        Melee Game - Use melee time of day (for all players)
        Game Cache - Create a game cache from siege.w3v
        Game Cache - Reload all game cache data from disk
        Game Cache - Restore hero of hero from (Last created game cache) for Player 1 (Red) at (Center of goodspawn <gen>) facing 90.00
        Set hero_unit = (Last restored unit)
        Game Cache - Clear (Last created game cache)
        Trigger - Turn on First Spawns <gen>
        Trigger - Turn off (This trigger)

if you can find a way to fix this, that would be great.

rtatpi
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top