• 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.

[Trigger] Need help with a system on this site

Status
Not open for further replies.
Level 11
Joined
Aug 11, 2009
Messages
605
I tried to copy a missile system from this site (http://www.hiveworkshop.com/forums/...-03-a-112543/?prev=search=missile&d=list&r=20)

But i got an error and I cant figure out what is wrong :/

Here are the messages:
Expected a name
set udg_MS_tempreal[2] = ParabolaZ(udg_MS_MissileH2[udg_MS_Integer[3]],udg_MS_tempreal[1],udg_MS_distance[udg_MS_Integer[3]])

Expected a name
set udg_MS_tempreal[4] = (ZFacing(udg_MS_MissileH2[udg_MS_Integer[3]],udg_MS_tempreal[1],udg_MS_distance[udg_MS_Integer[3]])+90)

(And I have checked I have all variables. Just the ParabolaZ and ZFacing I dont have, but those arnt variables in original map either.)

Uploaded a pic aswell.

Thanks for any help on this.
 

Attachments

  • Error.jpg
    Error.jpg
    253.9 KB · Views: 80
Level 11
Joined
Aug 11, 2009
Messages
605
Doesnt say anything about requiring JNGP :/ where is the script header? could you maybe try to explain how I could make this work, would greatly appreciate it.
 
Status
Not open for further replies.
Top