View Full Version : Dynamically adding nav points

21st Nov 2001, 08:00 PM
Is there something in the engine that prevent you from adding navigation points in the game in the gametype code(after the game has started).
I have been unsuccesfully trying to add playerstarts(subclassed so that thay aren't bStatic anymore) and it seems that it doesn't work.
I know that you need to rebuild the paths in the editor when adding nav points.
Is this the reason why it doesn't work?

21st Nov 2001, 08:13 PM
Disregard this question I just found out it was a silly thing I was doing

Note to self:When setting a custom actor to PHYS_falling don't forget to make it bCollideWorld :rolleyes:

22nd Nov 2001, 10:58 AM
Indeed :)
And you might want to do a check for visiblecolliding actors to see if there are other navpoints around the new one, so bots'll be able to use em correctly.

23rd Nov 2001, 09:29 AM
Anyway I've read UsaaR33's tut on linked lists and I know now that the navigationPoint linked list cannot be updated during game ,so the findPlayerstart function has to be changed.