Unless I'm grossly mistaken, this will spawn the box, but won't attach it to
the player - I may be misreading the original request, but I thought it was
more about spawning the box, attaching it to the player then detaching it
when the player died.

So Michaels code is a good start, but a bit more information is required to
get the box moving with the player and falling away when the player dies.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael Kramer
Sent: 08 June 2006 05:01
To: [email protected]
Subject: Re: [hlcoders] How to Create a Model Attached to the Player using
only code.

--
[ Picked text/plain from multipart/alternative ] ahh, that formatted all
weird, I will send it again:

>
Somewhere in player.cpp (or sdk_player.cpp, or hl2_player.cpp) you need to
add a class like this:

<snipped code>
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to