Scripting Help for A Noobie?

Post » Sat Feb 19, 2011 3:25 am

I was Screwing around with a mod on the nexus Atomic Metal band,
and reverse engineered as much as possible.

My goal is to have an actor, stand on stage and animate,
using an animation from the Umpa's animations from his mod.
Whilst music plays, Hence the music trigger.

And since I cannot Get the bloody thing to compile in geck.
I figured id go to the Experts.

Can someone Please Tell me where I've Mucked up?



SCRIPTNAME 001apoxmetaldarkseed

BEGIN OnTriggerEnter

IF (Playerinside != 1)
Wulfesing.SetPos x 2112
Wulfesing.SetPos y 1344
Wulfesing.SetPos z 6656
Wulfesing.playidle Singguitar
playmusic 001apoxmetaldarkseed
SET PlayerInside TO 1
ENDIF
END
User avatar
Emily Jones
 
Posts: 3425
Joined: Mon Jul 17, 2006 3:33 pm

Post » Fri Feb 18, 2011 11:49 pm

1. You have not defined 'PlayerInside' yet you are using it as a variable.
2. You are naming your object with a 'numeric' as the first character. That causes problems in some instances. You should avoid this for all your new objects.
3. 'Singguitar' needs to be an idle and setup properly for it to be called.
4. The 'reference ID name' on the NPC must be 'Wulfesing'.
5. You do not have the script attached properly to a real 'triggerzone' object.
User avatar
Cagla Cali
 
Posts: 3431
Joined: Tue Apr 10, 2007 8:36 am

Post » Fri Feb 18, 2011 7:16 pm

1. You have not defined 'PlayerInside' yet you are using it as a variable.
2. You are naming your object with a 'numeric' as the first character. That causes problems in some instances. You should avoid this for all your new objects.
3. 'Singguitar' needs to be an idle and setup properly for it to be called.
4. The 'reference ID name' on the NPC must be 'Wulfesing'.
5. You do not have the script attached properly to a real 'triggerzone' object.




Actually nevermind, I came across this lovely little tool called Geck Powerup.
And it Explained in detail what i had done wrong by re enabling the Error Messages.
Thanks a load there bethesda :P, But no Willie Kudos to you for being such a big help.
User avatar
Kristina Campbell
 
Posts: 3512
Joined: Sun Oct 15, 2006 7:08 am


Return to Fallout: New Vegas