Jump to content
  1. DOWNLOAD MODS

    Are you looking for something shiny for your load order? We have many exclusive mods and resources you won't find anywhere else. Start your search now...

    LEARN MODDING

    Ready to try your hand at making your own mod creations? Visit the Enclave, the original ES/FO modding school, and learn the tricks of the trade from veteran modders...

    JOIN THE ALLIANCE

    Membership is free and registering unlocks image galleries, project hosting, live chat, unlimited downloads, & more...

Sign in to follow this  
TigerCubofPNW

[SKY] Triggerbox Scene Start

Recommended Posts

So, I'm doing this basic thing in my mod where this Bandit surrenders and offers info. I'm using a scene for this. What I want it to do is that when the player walks into a trigger box it starts the scene.

 

Event OnTriggerEnter(ObjectReference akTriggerRef)
		if akTriggerRef == Game.GetPlayer()
		debug.messagebox("It works")
		BanditSurrender.Start()
		endif
	
EndEvent

 

Only the scene doesn't start. I get the debug message, so I know the trigger fires. But the bandit doesn't move, he doesn't begin dialogue or obey his AI package. I know scenes can be started via events, but I don't know if they can be started by trigger events. Is that not possible? It seemed like the easiest way so that I had control over when and where the scene starts. Oh and the scene has no conditions on starting.

Share this post


Link to post
Share on other sites

Maybe it would be better to use a SetStage trigger and use that stage to start the scene.

Yeah... I thought  my way would work. Ah well.... :/ Thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×