Hospital System (isPlayerInArea Help)
#3

Quote:
Originally Posted by Ada32
Посмотреть сообщение
yea that's ugly.. create a list of hospital spawn points, when the player dies, get his pos, loop through points, get the player's distance, return the index of the nearest point. done!
Thanks for the suggestion I just worked on the first solution I found. This certainly does sound alot better. I'll give this a write up and see how I get on.
Reply


Messages In This Thread
Hospital System (isPlayerInArea Help) - by Phil_Cutcliffe - 30.11.2013, 14:26
Re: Hospital System (isPlayerInArea Help) - by Ada32 - 30.11.2013, 14:40
Re: Hospital System (isPlayerInArea Help) - by Phil_Cutcliffe - 30.11.2013, 14:48
Re: Hospital System (isPlayerInArea Help) - by Phil_Cutcliffe - 30.11.2013, 15:56
Re: Hospital System (isPlayerInArea Help) - by JJB562 - 30.11.2013, 16:10
Re: Hospital System (isPlayerInArea Help) - by Phil_Cutcliffe - 30.11.2013, 20:47
Re: Hospital System (isPlayerInArea Help) - by Pottus - 30.11.2013, 21:06

Forum Jump:


Users browsing this thread: 1 Guest(s)