anyone found the Property of moveable statics yet?

Post » Tue Jun 19, 2012 1:25 am

I'm trying to reference a Campfire (one that's lit, not one of the dead ones) in a script but I can't for the life of me find which type of reference it belongs under. The scripts compile, however when I go to the properties tab I can't find a property with the campfire I want to link the reference to.

FYI the campfires are under Moveable Static -> Clutter. With Campfire01Burning being the main one I want to reference in my script. Here's my script just so you can see the direction I'm thinking with XXXXXX being the part I need to figure out.

Scriptname BK_FireScript extends ObjectReference {Drops an object that when Activated makes a fire.Hitting the fire removes it.}XXXXXX Property BK_CampingFireREF AutoObjectReference Fireint FireSpawnedEvent OnActivate(ObjectReference akActionRef)if FireSpawned == 0  Debug.Notification("Starting the Fire")  Fire = Game.GetPlayer().PlaceAtMe(BK_CampingFireREF)  Fire.SetAngle(0, 0, 0)  FireSpawned = 1elseif FireSpawned == 1  Debug.Notification("Putting out the Fire.")  FireSpawned = 0  Fire.Disable()  Fire.Delete()endifEndEvent

It's not an ObjectReference (well when I link it to one I placed in a cell it doesnt work anyways)
It's not under Static. Only the extinguished fires show up on that list.

I've tried just going through the list on the Properties page and trying a bunch of different ones but no go so far.

Any help would be appreciated :)
User avatar
Jonathan Montero
 
Posts: 3487
Joined: Tue Aug 14, 2007 3:22 am

Post » Mon Jun 18, 2012 11:04 pm

Create a new 'Activator' and attach the campfire NIF mesh to it. You can then use the ObjectReference.
User avatar
Janeth Valenzuela Castelo
 
Posts: 3411
Joined: Wed Jun 21, 2006 3:03 am

Post » Mon Jun 18, 2012 7:56 pm

Unfortunately I have zero experience with Models and Niffscope, the few times I've tried adding a new mesh to the game I keep getting some weird invalid directory error. There has to be a way to reference Movable Statics since as near as I can tell everything else is able to be referenced as a property by a script. Oh wells I'll keep plugging away lol.

However I happened across "Slighthouse Activator" when I looked at activators and that fits my needs perfectly, so thanks a bunch :)
User avatar
Krystal Wilson
 
Posts: 3450
Joined: Wed Jan 17, 2007 9:40 am


Return to V - Skyrim