MOH Central

Medal of Honor Series Forum => MOHAA Series: General => Topic started by: H3X3DIT on January 07, 2006, 05:15:39 AM

Title: players destination
Post by: H3X3DIT on January 07, 2006, 05:15:39 AM
not talking about coords but i am wondering like the actual player position hmmm like if i wanted to spawn a box persay on a players head and after a period of time if they were camping it would appear im sure there is something out there made for this but im looking for more of either a tutorial or just a foot in the door thanks.
Title: players destination
Post by: Elgan {sfx} on January 07, 2006, 12:04:29 PM
local.player.origin is there position:S
Title: players destination
Post by: H3X3DIT on January 08, 2006, 09:45:14 AM
right what i mean is ummmm if the player is constantly moving then how do u find the coord for there head persay thank you.
Title: players destination
Post by: Elgan {sfx} on January 08, 2006, 10:25:34 AM
find their bone.

   

   local.head = gettagposition "bone name"

   

   look on the sticky for all the bones

   

   gettagposition ( String tag_name )    

   

   Gets the world position of the tag
Title: players destination
Post by: H3X3DIT on January 08, 2006, 10:41:14 AM
ahhh i see now what ur saying thank you for ur help and happy new year.