yourenotsupposedtobeinhere Posted October 24, 2014 Share Posted October 24, 2014 Hey all. I am stuck on a quest stage I am working on. what I need is for an NPC to appear to be banished to Oblivion, using the Summon spell shader effects and then disabling the NPC. I have tried a script from looking in the CK. I tried to attach it to the NPC but got an EOF error at the If Statement. Tried to attach it to the quest stage and the CK states that there is no know functions. Any help would be appreciated. Here is what I have; Propery Activator BanishTargetFXActivatorIf (SSIMQ04 == 80) Self.PlaceAtMe(TeleportFX) Utility.Wait(0.25) Self.Disable() Questname.Setstage(90)EndIf I believe the only issue is the If statment, not sure how to call the quest stage. Link to comment Share on other sites More sharing options...
DDProductions83 Posted October 24, 2014 Share Posted October 24, 2014 I think we need more informationWhat is the if pointing at, stage?Is the stage defined as a propertyCan it be is my next questionYou might have to run a getstage function and apply a int to the stage number and run a if on the int IDKList the whole script then :)I'm gonna pass out but try to be more detailed, is this a event, does it get run inside a fragment in a scene, is it a trigger or is it a constant on the actors aliasAnswer most of that and someone will probably beat me to helping you by the time I wake up Oh kind of read the bottom.. I am not sure I just checked the ref page but I'm F'ing tiredA workaround to that may be in the papyrus fragment for stage 80 of the quest you could create a global variable, and then when the stage hits 80 add the line MyglobalVariable.setvalueint(72)And then instead of getting the stage in the IF you could add a property for the global variable and do a IF Myglobalvariable.value == 72 ; if that doesnt work try IF myglobalvariable.getvalueint() == 72 do dis s#*! myglobalvariable.setvalueint(456)end if Link to comment Share on other sites More sharing options...
yourenotsupposedtobeinhere Posted October 25, 2014 Author Share Posted October 25, 2014 I was able to figure it out. Link to comment Share on other sites More sharing options...
Recommended Posts