• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 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!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

[Trigger] Syntax Error but why? oO

Not open for further replies.
Level 16
May 1, 2008
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:
Not open for further replies.