Razakel Posted July 23, 2010 Share Posted July 23, 2010 I'm trying to make a quest where at a certain queststage an object that was initially disabled becomes enabled.In every other quest I've looked at all it does is add an "objectref.enable" line in the result script for the quest stage. But when I do that, nothing happens! The object has a persistant reference etc...I can't figure out what I'm doing wrong here! Help please, before this finally drives me insane:( Link to comment Share on other sites More sharing options...
slygothmog Posted July 23, 2010 Share Posted July 23, 2010 Nasty isn't it...can you post your script so we can look at it? Link to comment Share on other sites More sharing options...
Razakel Posted July 23, 2010 Author Share Posted July 23, 2010 ScriptName 1aDarkLairHitScript Begin Gamemode if ( GetStage 1aDarkLairQuest >= 30 ) if ( RegulusTerentiusRef.GetDead == 1 ) SetStage 1aDarkLairQuest 40 endif endifEnd That's all I've got for it so far. And then in the quest data for stage 40 I've just put in to objectrefname.enable Wasn't aware I needed to write a script more than that o_O Link to comment Share on other sites More sharing options...
slygothmog Posted July 23, 2010 Share Posted July 23, 2010 If the object has already been diabled prior to this then ( I will call the object GoldChestRef ) ScriptName 1aDarkLairHitScript Begin Gamemode if ( GetStage 1aDarkLairQuest >= 30 )if ( RegulusTerentiusRef.GetDead == 1 )SetStage 1aDarkLairQuest 40GoldChestRef.enableendifendifEnd Link to comment Share on other sites More sharing options...
Razakel Posted July 23, 2010 Author Share Posted July 23, 2010 Thanks I'll try that. I did that before and it wouldn't work but knowing me I did something stupid. I just got a warning when opening the CS about it, but I've no idea where to look to view my warnings.. Link to comment Share on other sites More sharing options...
slygothmog Posted July 23, 2010 Share Posted July 23, 2010 sounds like you are misplacing a ref...But I never get that warning, so I dont know what you are doing wrong. Link to comment Share on other sites More sharing options...
Razakel Posted July 23, 2010 Author Share Posted July 23, 2010 Whew, thank you it works now:) I have no idea what I was doing wrong before... Link to comment Share on other sites More sharing options...
slygothmog Posted July 24, 2010 Share Posted July 24, 2010 Dont worry, these things happen ( just like women on a bad day ), let me know how things go with you mod :thumbsup: :teehee: Link to comment Share on other sites More sharing options...
Recommended Posts