Expected end of line

laxperson808

New Member
Reaction score
9
So im working on a something and i have 3 custom scripts and all 3 have the same error.. "Expected end of line" im wondering if thats the WE being glitchy or what..

First one "call DestroyGroup (udg_Forest_quest_reward_play_group)'"
Second/third are same
"call RemoveLocation (udg_CreepRespawnPoint[GetUnitUserData(GetDyingUnit())])'"

ive read other threads trying 2 fix this.. nothing's helped...
 

Jedi

New Member
Reaction score
63
RemoveLocation(udg_CreepRespawnPoint[GetUnitUserData(GetDyingUnit())])
There shouldn't be a space between RemoveLocation and parenthesis.
 

Skippy

Active Member
Reaction score
39
^ No, I don't think this is the problem.

Why do you have apostrophe at the end?
 

laxperson808

New Member
Reaction score
9
no actully that was the problem.. i have the ' at the end becus if i dont it says expected ' (force)
and also this 1 is still saying expected end of line
"call DestroyGroup(udg_Forest_quest_reward_play_group)'"
 

laxperson808

New Member
Reaction score
9
nope the ' are suposed 2 be there.. and now everything wrks. and i feel stupid.. had DestroyGroup.. not DestroyForce.. thanks for the help btw
 
General chit-chat
Help Users

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top