GECK Whats wrong with this script

Post » Tue May 17, 2011 12:34 am

I need a little help with this script whats wrong?

Here it is:

scn AAAMonsterMythStage10SCRIPT

begin GameMode

if getStage AAAMonsterMyth < 10
if player.GetHasNote 01000DC4 == 1
GetObjectiveCompleted AAAMonsterMyth 10 1
SetStage AAAMonsterMyth 20
endif
endif

End



I need to know! If you need more info just ask. Thank you.
User avatar
Jynx Anthropic
 
Posts: 3352
Joined: Fri Sep 08, 2006 9:36 pm

Post » Tue May 17, 2011 1:35 pm

It would be interesting if you told us what's not working.

I assume it doesn't compile because 01000DC4 is the current FormID of your note and not its Editor Id.
You don't use FormIDs in the Geck, they are dynamically changed when the game loads, with the first two digits being your mod's place in the loading order.

Your use of GetObjectivecompleted doesn't make much sense either, it won't prevent the script from being compiled, but your quest objective won't be set to "completed", if this is what's not working.
User avatar
jeremey wisor
 
Posts: 3458
Joined: Mon Oct 22, 2007 5:30 pm

Post » Tue May 17, 2011 2:06 am

Still dosent save at all. Any more idea's?
User avatar
Kelsey Anna Farley
 
Posts: 3433
Joined: Fri Jun 30, 2006 10:33 pm

Post » Tue May 17, 2011 3:34 pm

Still dosent save at all. Any more idea's?


Sorry, my crystal ball only works with fantasy games (unless kobolds break it, that is.)

Was the ID for the note indeed the Form ID? Did you fix it?
Did you mean to write SetObjectivecompleted? Did you fix it?
Does the quest AAAMonsterMyth exist? Do objectives 10 and 20 exist as well?

Use the http://www.newvegasnexus.com/downloads/file.php?id=36290 to get an error message.
User avatar
(G-yen)
 
Posts: 3385
Joined: Thu Oct 11, 2007 11:10 pm


Return to Fallout: New Vegas