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 <amck...@yahoo.com>wrote: > Its for a source mod > > > -------- > Owner Nigredo Studios http://www.nigredostudios.com > > --- On *Wed, 2/3/11, QSDev <yann...@qsdev.de>* wrote: > > > From: QSDev <yann...@qsdev.de> > Subject: Re: [hlcoders] Teleportation AMX Mod? > To: "Discussion of Half-Life Programming" <hlcoders@list.valvesoftware.com > > > 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" > <amck...@yahoo.com<http://mc/compose?to=amck...@yahoo.com>> > 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> > 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
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders