• 🏆 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!

[Trigger] Trigger not working

Status
Not open for further replies.
Level 2
Joined
Apr 11, 2008
Messages
19
Im not sure why but part of this trigger isnt working

  • trunks ss2
  • Events
    • player 10(light blue) says ss2 as an exact match
  • Conditions
  • (owner of future trunks 0264) equal to player 10 (light blue)
  • (future trunks has an item of super saiyan 2) equal false
  • player10 current gold greater or equal to 10
  • Actions
  • Hero give future trunks super saiyan 2
  • if-conditions
  • hero level of future trunks greater then or equal to 35
  • then conditions-
  • create fss2 and give it to future trunks
  • if conditions
  • here level of future trunks greater then or equal to 30
  • then conditions
  • create ss2 mastery and give it to future trunks
  • set trunkss2mastery=lastcreateditem
Ss2 and ss2 mastery work fine, but whats wrong with fss2?
 
Last edited:
Level 7
Joined
Dec 8, 2005
Messages
319
use this to show triggers. open with "trigger" and close it with "/triggger" put [] instead ""
i am not sure what everything is but is trunks super saiyan an item?
 
Level 7
Joined
Dec 8, 2005
Messages
319
is that really your code from the game? some times it is the small stuff that bug out and just copy as text your trigger... but i have writen code exactly one way and had errors and then turned around and rewrote all of it and it worked perfect and then i compared the 2 codes and they are exactly the same. so sometimes you get wierd stuff. try re-making the trigger and turn off the old one... dont copy and paste it though.
 
Level 2
Joined
Apr 11, 2008
Messages
19
This is the exact coding

  • Events
  • Player - Player 10(Light Blue) types a chat message containing ss2 as an exact match
  • Conditions
    • (Owner of Future Trunks 0264 <gen>) Equal to player 10(Light Blue)
    • (Future Trunks 0264 <gen> has an item of type Super Saiyan 2) Equal to false
    • (Player 10(light blue) Current gold) Greater than or equal to 10
  • Actions
  • Player - add -15 to player 10 (light blue) Current gold)
  • Unit - Change color of Future Trunks to Yellow
  • Hero - Give super saiyan 2 0266 to future trunks
  • Item - Move super super saiyan to center of items
  • Item - Remove trunks uss2mastery
  • Item - Move Ultra Super Saiyan to (Center of items)
  • Item - Move ultra super saiyan 2 to center of items
  • Unit - Set Future Trunks 0264 movement speed to 350.00
  • If (all conditions are True) then do (Then actions) else do (Else Actions)
  • If-Conditions
  • (hero level of Future Trunks 0264)Greater than or equal to 30
  • Then- Actions
  • Hero- Create fss2 and give it to future trunks 0264
  • Set fss2= last created item
  • Else-Actions
  • If (all conditions are True) then do (Then actions) else do (Else Actions)
  • If-Conditions
  • (hero level of Future Trunks 0264)Greater than or equal to 30
  • Then- Actions
  • Hero- Create super saiyan 2 mastery and give it to future trunks 0264
  • Set Trunksss2Mastery= last created item
  • Else-Actions
As i said all of the triggers work exept giving trunks fss2
 
Level 7
Joined
Dec 8, 2005
Messages
319
ok one thing i do notice... try removing your conditions for your if statements and try it... plus i am not sure why the fss2 would not be working... but did you type this in or did you copy and dont remove the spaces... that does matter...

plus could it be a problem with the item maybe? i have seen that happen before when it is the item or the unit is messed up but the trigger is running right...
 
Status
Not open for further replies.
Top