[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