Jump to content

Script help please, summon shadder NPC disable


Recommended Posts

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 BanishTargetFXActivator

If (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

I think we need more information

What is the if pointing at, stage?

Is the stage defined as a property

Can it be is my next question

You might have to run a getstage function and apply a int to the stage number and run a if on the int IDK

List 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 alias

Answer 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 tired

A 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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...