• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[Trigger] Need help with a system on this site

Status
Not open for further replies.
Level 11
Joined
Aug 11, 2009
Messages
594
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: 79
Level 11
Joined
Aug 11, 2009
Messages
594
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