Deleted28154640User Posted December 1, 2015 Share Posted December 1, 2015 Hiya everyone I'm currently having a problem with my script it works perfectly the first time around but the second time it stuffs up an doesn't work it properly, Im guessing this is because the actor becomes disconnected with the nocturnal furniture marker but I don't know how to make the actor resume using the marker. Scriptname ZZZ_DarkLadyBookScript extends ObjectReference ObjectReference Property RavensDown Auto ObjectReference Property RavensUP Auto ObjectReference Property ShadowPool AutoObjectReference Property Shrine AutoIdle Property DarkladyRise AutoIdle Property DarkladyDown AutoIdle Property Darkladyhover Autoobjectreference Property DarkladyMarker autoObjectReference Property TheDarkLadyController AutoActor Property DarkLady Auto Event OnActivate(ObjectReference akActionRef)If (TheDarkLadyController.isenabled()) Game.DisablePlayerControls(True, True, True, False, True, False, True) RavensDown.PlayAnimation("playanim01") DarkLady.PlayIdle(DarkladyDown) DarkLady.PlayIdle(DarkladyDown) DarkladyMarker.Activate(DarkLady) ShadowPool.Enable() ShadowPool.PlayAnimation("idle01") Utility.wait(3) ShadowPool.Disable() TheDarkLadyController.Disable() utility.wait(5) Game.EnablePlayerControls()elseif (TheDarkLadyController.isdisabled()) Game.DisablePlayerControls(True, True, True, False, True, False, True) ShadowPool.enable() ShadowPool.PlayAnimation("idle01") RavensUp.PlayAnimation("playanim01") DarkLady.PlayIdle(DarkladyRise) Utility.wait(3) ShadowPool.Disable() DarkLady.PLayIdle(Darkladyhover) TheDarkLadyController.enable() utility.wait(5) Game.EnablePlayerControls()endifendevent Here is my script as you can see Ive tried "DarkladyMarker.Activate(DarkLady)" but even that wont get my npc to resume "sitting" at the marker. Please help, thank you. Link to comment Share on other sites More sharing options...
Deleted28154640User Posted December 1, 2015 Author Share Posted December 1, 2015 YAY I got it working here is the revised script the key was to disable and enable the actor through the script Scriptname ZZZ_DarkLadyBookScript extends ObjectReference ObjectReference Property RavensDown Auto ObjectReference Property RavensUP Auto ObjectReference Property ShadowPool AutoIdle Property DarkladyRise AutoIdle Property DarkladyDown AutoIdle Property Darkladyhover Autoobjectreference Property DarkladyMarker autoObjectReference Property TheDarkLadyController AutoActor Property DarkLady Auto Event OnActivate(ObjectReference akActionRef)If (TheDarkLadyController.isenabled()) Game.DisablePlayerControls(True, True, True, False, True, False, True) RavensDown.PlayAnimation("playanim01") DarkLady.PlayIdle(DarkladyDown) DarkLady.PlayIdle(DarkladyDown) DarkladyMarker.Activate(DarkLady) ShadowPool.Enable() ShadowPool.PlayAnimation("idle01") Utility.wait(4) ShadowPool.Disable() DarkLady.disable() TheDarkLadyController.Disable() utility.wait(5) Game.EnablePlayerControls()elseif (TheDarkLadyController.isdisabled()) Game.DisablePlayerControls(True, True, True, False, True, False, True) Darklady.enable() ShadowPool.enable() ShadowPool.PlayAnimation("idle01") utility.wait(3) RavensUp.PlayAnimation("playanim01") DarkLady.PlayIdle(DarkladyRise) Utility.wait(3) ShadowPool.Disable() DarkLady.PLayIdle(Darkladyhover) TheDarkLadyController.enable() utility.wait(5) Game.EnablePlayerControls()endifendevent Hope this helps anyone having the same issue Link to comment Share on other sites More sharing options...
Recommended Posts