What's wrong with Tony's idea though? Just add a new vector variable to the player class, record the coords to it when the player dies, then move them to those coords when they touch the trigger.
On Wed, Mar 2, 2011 at 12:36 PM, Adam "amckern" McKern <[email protected]>wrote: > Check the attachment for my idea in a nut shell. > > > -------- > Owner Nigredo Studios http://www.nigredostudios.com > > --- On *Wed, 2/3/11, Tony "omega" Sergi <[email protected]>* wrote: > > > From: Tony "omega" Sergi <[email protected]> > > Subject: Re: [hlcoders] Teleportation AMX Mod? > To: "Discussion of Half-Life Programming" <[email protected] > > > Received: Wednesday, 2 March, 2011, 7:57 PM > > > when they die, put their position into a vector. > when they spawn, move them to the vector. > -Tony > > > On Wed, Mar 2, 2011 at 5:27 PM, Adam "amckern" McKern > <[email protected]<http://mc/[email protected]> > > wrote: > > Its for a source mod > > > -------- > Owner Nigredo Studios http://www.nigredostudios.com > > --- On *Wed, 2/3/11, QSDev > <[email protected]<http://mc/[email protected]> > >* wrote: > > > From: QSDev <[email protected] <http://mc/[email protected]>> > Subject: Re: [hlcoders] Teleportation AMX Mod? > To: "Discussion of Half-Life Programming" > <[email protected]<http://mc/[email protected]> > > > Received: Wednesday, 2 March, 2011, 2:05 AM > > > So you want to do this in a source mod? Or with a amx plugin, too? > > On 01.03.2011, at 07:50, "Adam \"amckern\" McKern" > <[email protected]<http://mc/[email protected]>> > wrote: > > Hey, > > This is for source, however the proof of concept i want to hack is in gold > src. > > When my player dies i want to save there location as on respawn they will > spawn at a common point, and return to the 'world' at the place the died in > order to continue the game. > > How would i save the XYZ location of my player when they die in order to > teleport them to this location once they respawn? (such as savepos loadpos > commands in the amx mod) > > -------- > Owner Nigredo Studios http://www.nigredostudios.com > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > -----Inline Attachment Follows----- > > > _______________________________________________ > 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 > > > > > > -- > -Tony > > > -----Inline Attachment Follows----- > > _______________________________________________ > 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 > > >
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

