|
Post by Zeph on Aug 12, 2009 16:40:05 GMT
A question on L4D SDK.
How do you move NPC Survivors?
There needs to be a check run for if a survivor is Player or Non-Player controlled, and only move the non-player controlled survivors.
In No Mercy, the interior level, there is an elevator. If you use the button when all player-controlled survivors are in the lift, the remaining non-player controlled survivors are teleported into the lift. I've torn this level apart and not found how they have done this.
Any help is greatly received. And 3kliksphilip you're tutorials are a god-send!
|
|
|
Post by BuLl3t on Aug 13, 2009 12:38:17 GMT
Im assuming that somewhere it says "when reached 'certain area' and the NPC is out of range teleport them to the spot," or "NPC's can only be allowed a certain distance from the !player(s)" but there must be something with the button, check the inputs and outputs.
|
|
|
Post by Zeph on Aug 14, 2009 11:33:04 GMT
I've torn the level apart and not found something like that.
There are GameEvents, which are the floating text, some path04 thing parameter to the Director, but that's after the teleport as the survivors move up the shaft... nothing to do with moving them into the elevator.
|
|