NPC:UseLeadBehavior
Description
Enables the AI's Lead Behavior when an ai_goal_lead
is set for this SENT.
This function only works on
ai
type SENTs.Returns
Example
For use in gm_construct
, spawns a base_ai
in the middle of the map and orders it to take player under a spotlight.