a Simple IDEA

Post » Mon Jun 18, 2012 6:41 pm

hi, like the tittle says i have a simple idea when i completed the HelloWorld tutorial. i think maybe create a candle on the player's head when you interact with the activator...so i was trying to make the code but, when the candle shows up, it stay on the air...how can i keep the candle on the head, even if i move...another issue is that swap me into 1st person when i activate the pilar. sorry my english



STATIC Property candle Auto
ObjectReference ORCandle

Event OnActivate(ObjectReference akActionRef)

Debug.MessageBox("idea")
ORCandle = Game.GetPlayer().PlaceAtMe(candle, 1, true)
ORCandle.MoveToNode(Game.GetPlayer(), "NPC Head [Head]")

endEvent


so i set the STATIC Property candle variable for ImpCandle01 on the properties menu...i tried with a torch but its the same...doesnt move with me when i walk

...thanks for your help
User avatar
Jimmie Allen
 
Posts: 3358
Joined: Sun Oct 14, 2007 6:39 am

Return to V - Skyrim