OnLoad(), but for disabled objects?

Post » Sat Jan 26, 2013 5:47 pm

I'm looking for an event similar to OnLoad(), but fires even if the object is disabled.
Essentially, an event that will play whenever the player gets within a certain distance of the object. Is there anything like that exists?
User avatar
Joe Alvarado
 
Posts: 3467
Joined: Sat Nov 24, 2007 11:13 pm

Post » Sat Jan 26, 2013 9:01 am

You could put a trigger over the object and use an OnTriggerEnter() or OnTrigger() Event. Not sure what exactly your trying to do.
User avatar
Sophie Payne
 
Posts: 3377
Joined: Thu Dec 07, 2006 6:49 am

Post » Sat Jan 26, 2013 1:48 pm

There's a ship, initially disabled. When the player approaches the ship (IE when they getting within the distance it'd normally be loaded at), the ship is enabled and begins to move.
The only hard part is finding the event.
User avatar
Lucky Boy
 
Posts: 3378
Joined: Wed Jun 06, 2007 6:26 pm

Post » Sat Jan 26, 2013 5:49 pm

Actually, here's a question that might help. What's the length and width of an exterior cell, in Skyrim units?
User avatar
Natasha Biss
 
Posts: 3491
Joined: Mon Jul 10, 2006 8:47 am


Return to V - Skyrim