Making NPC enable in a specific place.

Post » Sun Nov 23, 2014 3:44 pm

I have a tower and when player ascends the stairs a trigger box enables a sphere and using Utility.Wait(0.5) a Mage "should" appear inside it before the sphere disappears - but he doesn't.

Screenshots.

First the setup in CK. https://onedrive.live.com/?cid=B60C11D037429D8E&id=B60C11D037429D8E%2130727&v=3

Second where he always enables. https://onedrive.live.com/?cid=B60C11D037429D8E&id=B60C11D037429D8E%2130726&v=3

The xmarker below the Mage is used for his Sandbox Package start location. Here is the script I am using.

ObjectReference Property Sphere AutoActor Property Mage AutoSound Property Effect AutoEvent OnTriggerEnter(objectreference akactionref)if akactionref == game.getplayer()Sphere.Enable()Effect.Play(self)Utility.Wait(0.5)Mage.Enable()EndIfEndEvent

I'm not sure what I am doing wrong. How can I get the Mage to enable where he is in the CK screenshot and not anywhere else?

Thanks for your time.

User avatar
sexy zara
 
Posts: 3268
Joined: Wed Nov 01, 2006 7:53 am

Return to V - Skyrim