HELP placing object on character

Post » Tue Jun 19, 2012 1:36 am

i trying to figure how to do this...attach an object on specific node from character...a weapon, in this case, falls without attaching on the player

what i want: copy an object, placed on the players character by nodes and keep it there while moving. show a message on activate
what happends: the object is created but falls when i close the message


ObjectReference ORWeap

Event OnActivate(ObjectReference akActionRef)

Weapon Weap = Game.GetPlayer().GetEquippedWeapon()
ORWeap = Game.GetPlayer().PlaceAtMe(Weap, 1, true)
ORWeap.MoveToNode(Game.GetPlayer(), "NPC Head [Head]")

endEvent


HELP!!!
User avatar
JD bernal
 
Posts: 3450
Joined: Sun Sep 02, 2007 8:10 am

Post » Mon Jun 18, 2012 4:04 pm

i think you're looking for "additem"? What are you trying to do specifically?
User avatar
Nicole Mark
 
Posts: 3384
Joined: Wed Apr 25, 2007 7:33 pm

Post » Mon Jun 18, 2012 4:48 pm

i think you're looking for "additem"? What are you trying to do specifically?

i'm trying to attach a weapon to the player's body....like when the "ice spike" spell hits the player

i think the problem might be the declaration of the player object reference on the event...i think takes the last coordenates of the "NPC Head [Head]" node....maybe is anyway to do this node more dynamic?...I'm lost HELP please!
User avatar
Sammygirl500
 
Posts: 3511
Joined: Wed Jun 14, 2006 4:46 pm

Post » Mon Jun 18, 2012 6:57 pm

i'm trying to attach a weapon to the player's body....like when the "ice spike" spell hits the player

i think the problem might be the declaration of the player object reference on the event...i think takes the last coordenates of the "NPC Head [Head]" node....maybe is anyway to do this node more dynamic?...I'm lost HELP please!

-Deleted-
User avatar
X(S.a.R.a.H)X
 
Posts: 3413
Joined: Tue Feb 20, 2007 2:38 pm

Post » Tue Jun 19, 2012 1:22 am

someone?
User avatar
Sarah Knight
 
Posts: 3416
Joined: Mon Jun 19, 2006 5:02 am

Post » Tue Jun 19, 2012 12:51 am

someone?

Try making an arrow with a swords model, and then using Fire() function.
User avatar
Stephani Silva
 
Posts: 3372
Joined: Wed Jan 17, 2007 10:11 pm

Post » Tue Jun 19, 2012 1:22 am

work for a while, but I'm trying to place variable persistent objects on the player...thanks anyway
User avatar
Shaylee Shaw
 
Posts: 3457
Joined: Wed Feb 21, 2007 8:55 pm


Return to V - Skyrim