• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[Trigger] Syntax Error but why? oO

Status
Not open for further replies.
Level 16
Joined
May 1, 2008
Messages
1,605
Seas =)

I got a problem and I dont know why - look:

  • Crushing Ground
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to MK 1
    • Actions
      • Set KbLoc = (Position of (Casting unit))
      • Set KbCaster = (Casting unit)
      • Unit Group - Pick every unit in (Units within 250.00 of (Position of KbCaster)) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked unit) belongs to an enemy of (Owner of KbCaster)) Equal to True
            • Then - Actions
              • Set KbTarget = (Picked unit)
            • Else - Actions
      • Trigger - Turn on Crushing Ground Push <gen>
      • Wait 1.00 game-time seconds
      • Trigger - Turn off Crushing Ground Push <gen>
      • Custom script: call_RemoveUnit(udg_KbCaster)
      • Custom script: call_RemoveUnit(udg_KbTarget)
      • Custom script: call_RemoveLocation(udg_KbLoc)
If I want save the map, it will mark "call_RemoveUnit(udg_Caster)" and says: Syntax Error .... but why? :eekani:
 
Status
Not open for further replies.
Top