• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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