Zynoq Posted March 8, 2009 Share Posted March 8, 2009 The last month i've been working little mod but i have some trouble with a script. It's pretty basic but i can't get it working. Here it is: ScriptName <scriptname> begin GameMode If getstage <questname> > 20 Refname01.disable Refname02.disable Refname03.disable endif end I wan't to to make some npc's dissapear after the quest has reached a certain point, but they are still there. Does anyone know what might be the problem with this? Thanks in advance. Link to comment Share on other sites More sharing options...
nosisab Posted March 8, 2009 Share Posted March 8, 2009 The last month i've been working little mod but i have some trouble with a script. It's pretty basic but i can't get it working. Here it is: ScriptName <scriptname> begin GameMode If getstage <questname> > 20 Refname01.disable Refname02.disable Refname03.disable endif end I wan't to to make some npc's dissapear after the quest has reached a certain point, but they are still there. Does anyone know what might be the problem with this? Thanks in advance.make sure Refnamexx is the name of the object's reference in the render window and not the base object's name. Another possibility of fail is if the quest stage is not updated pass 20 (in this case)... note than in the stage 20 they will be there, yet. you can use the console command getstage <questid> to verify it ongame. Link to comment Share on other sites More sharing options...
Zynoq Posted March 9, 2009 Author Share Posted March 9, 2009 I changed it to > 15 (a earlier unwritten stage, it's suppose to make the 20 stage be triggered a bit later) then when the stage is 10 they aren't there. What's wrong with that? By the way I now saw that I accidently made two topics, please ignore that and reply here if you think you can help. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.