• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Selection gives fatal error

Status
Not open for further replies.
Level 16
Joined
Jun 25, 2008
Messages
1,043
So, i'm working on a big rpg map, which is secret and all that bla bla :p
But anyways, i've encountered this major error when selecting your hero.
I got a working system, but when you try to mark your hero (clicking icon in corner or selecting him) the game crashes, here's how the trigger looks:
  • Select a hero
    • Events
      • Player - Player 1 (Red) skips a cinematic sequence
    • Conditions
      • Multiple ConditionsAnd - All (Conditions) are true
        • Conditions
          • Multiboard_CharacterBoolean[1] Equal to (==) False
          • Multiboard_CharacterBoolean[2] Equal to (==) False
          • Multiboard_CharacterBoolean[3] Equal to (==) False
          • Multiboard_CharacterBoolean[4] Equal to (==) False
          • Multiboard_CharacterBoolean[5] Equal to (==) False
          • Multiboard_CharacterBoolean[6] Equal to (==) False
          • Multiboard_CharacterBoolean[7] Equal to (==) False
          • Multiboard_CharacterBoolean[8] Equal to (==) False
    • Actions
      • -------- Human --------
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • Multiple ConditionsAnd - All (Conditions) are true
              • Conditions
                • GameCache_CharacterRace Equal to (==) Human
                • GameCache_CharacterSex Equal to (==) Right Hand
          • Then - Actions
            • Trigger - Turn on Human <gen>
            • Trigger - Run Human <gen> (checking conditions)
          • Else - Actions
  • Human
    • Events
    • Conditions
    • Actions
      • Cinematic - Turn cinematic mode Off for (All players)
      • Cinematic - Fade out over 2.00 seconds using texture Black Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
      • Multiboard - Hide all multiboards
      • Multiboard - Destroy Multiboard_CharacterMB
      • Unit - Create 1 Strong Hero (human) for Player 12 (Brown) at (Center of Strong <gen>) facing 317.88 degrees
      • Unit - Make (Last created unit) Invulnerable
      • Unit - Create 1 Swift Hero (human) for Player 12 (Brown) at (Center of Swift <gen>) facing 317.88 degrees
      • Unit - Make (Last created unit) Invulnerable
      • Unit - Create 1 Defencive Hero (human) for Player 12 (Brown) at (Center of Defencive <gen>) facing 317.88 degrees
      • Unit - Make (Last created unit) Invulnerable
      • Wait 1.00 seconds
      • Camera - Pan camera for Player 1 (Red) to (Center of Pick type <gen>) over 0.00 seconds
      • Camera - Reset camera for Player 1 (Red) to standard game-view over 0.00 seconds
      • Unit - Create 1 Base Hero (human) for Player 1 (Red) at (Center of Pick type <gen>) facing Default building facing (270.0) degrees
      • Set PlayersHero[(Player number of Player 1 (Red))] = (Last created unit)
      • Wait 1.00 seconds
      • Cinematic - Hide filter
      • Cinematic - Turn cinematic mode Off for (All players)
      • Trigger - Turn on inhouse camera <gen>
      • Set CurrentCamera[(Player number of Player 1 (Red))] = 3
      • Trigger - Turn on Set Camera 1 Copy <gen>
      • Trigger - Turn on Human Pick <gen>
theese are the 2 triggers i use, and as far as i see, i cant see any errors with it :/

note: it's nothing wrong with the characted himself, i've tried to use another unit from blizzards default ones, but it does not help..
 

Attachments

  • Fatal.JPG
    Fatal.JPG
    17.1 KB · Views: 119
Last edited:
Level 16
Joined
Jun 25, 2008
Messages
1,043
Or i dont.
Most of my current triggers either are without a event, and initially off, or with events like
Player -keyboard event
or unit - unit enters region.

><
Altho, i noticed some really strange thing.
When i hover the mouse over the hero icon, no text att all is displayed..
Perhaps this has something to do with the error?
usually it displays some information about hero level, doesnt it? oO
 
Status
Not open for further replies.
Top