• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] FaTaL ErrOr!

Status
Not open for further replies.
Level 3
Joined
Sep 15, 2008
Messages
31
ok when dark green trys to Unit - Move (Entering unit) instantly to (Center of Region 024 <gen>) a fatal error owns me.

Here's my trigger
  • Move AntiBlock
    • Events
      • Unit - A unit enters dead <gen>
    • Conditions
      • (Owner of (Entering unit)) Equal to Player 11 (Dark Green)
    • Actions
      • Unit - Move (Entering unit) instantly to (Center of Region 024 <gen>)
i already tried Wait and If/Then/Else

anyone got any ideas to fix this?
 
Level 12
Joined
Mar 23, 2008
Messages
942
ok when dark green trys to Unit - Move (Entering unit) instantly to (Center of Region 024 <gen>) a fatal error owns me.

Here's my trigger
  • Move AntiBlock
    • Events
      • Unit - A unit enters dead <gen>
    • Conditions
      • (Owner of (Entering unit)) Equal to Player 11 (Dark Green)
    • Actions
      • Unit - Move (Entering unit) instantly to (Center of Region 024 <gen>)
i already tried Wait and If/Then/Else

anyone got any ideas to fix this?

Well, the only thing I can think is the unit been moving back to some point of dead <gen>, that would cause an infinite loop.
 
Level 3
Joined
Sep 15, 2008
Messages
31
nah that isnt it :confused:
could it be that an other trigger has Unit - A unit enters dead <gen>
cuz my other trigger with Unit - A unit enters dead <gen> is
  • dead
    • Events
      • Unit - A unit enters dead <gen>
    • Conditions
      • (Owner of (Entering unit)) Equal to Player 12 (Brown)
    • Actions
      • Set Lives_Red = (Lives_Red - 1)
      • Wait 0.10 seconds
      • Unit - Move (Entering unit) instantly to (Center of Region 024 <gen>)
      • Trigger - Run Multiboard <gen> (checking conditions)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Lives_Red Equal to 0
        • Then - Actions
          • Game - Display to (All players) the text: Red and blue just b...
        • Else - Actions
 
Level 3
Joined
Sep 15, 2008
Messages
31
argggg not that either ! :sad:

Edit: nvm thx Saishy tho :thumbs_up:

i had another trigger making Dark Green do something else :gg:
 
Last edited:
Status
Not open for further replies.
Top