• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Problem with custom script

Status
Not open for further replies.
Level 5
Joined
Jan 5, 2012
Messages
116
This is the custom script. It keeps telling me that it expected a variable name in these lines. Is anything wrong with it?

  • Custom script: set udg_SB_LooperX = GetUnitX(udg_SB_Looper)
  • Custom script: set udg_SB_LooperY = GetUnitY(udg_SB_Looper)
  • Custom script: set udg_SB_LooperZ = GetUnitFlyHeight(udg_SB_Looper)
  • Custom script: set udg_SB_PickedX = GetUnitX(udg_SB_Picked)
  • Custom script: set udg_SB_PickedY = GetUnitY(udg_SB_Picked)
  • Custom script: set udg_SB_PickedZ = GetUnitFlyHeight(udg_SB_Picked) + udg_SB_Height
  • Custom script: set udg_SB_Lightning = AddLightningEx(udg_SB_LightningModel,true,udg_SB_LooperX,udg_SB_LooperY,udg_SB_LooperZ,udg_SB_PickedX,udg_SB_PickedY,udg_SB_PickedZ)
 
Level 23
Joined
Apr 16, 2012
Messages
4,041
JNGP wont mess your map by itself if you don't use UMSWE or UMSWE GUI. With JNGP it should compile properly and you will be able to open it inside common WE, just maybe unable to save without such errors.

WEU or UMSWE does it matter? :D
also you will be able to open it woth normal WE as long as you dont use vJass, but if you have JNGP why use normal WE? :D
 
Status
Not open for further replies.
Top