Follow and PlayerFriendly
Follow
Forces NPC to follow it's target object
Broken Feature
This function can only be enabled or disabled, walk
or run
will not do anything.
If you want to make an NPC follow something by walking, set it's act pack instead.
Syntax
Follow [true/false]
Follow [walk/run],[distance]
Example
// (from ai_st11_urza.p3s)
pt_default
{
actions
{
Sequence arrest_me,2
WaitForEnd 1
RemoveAttr "ArrestWait"
TargetToMem 5
FreeMovement false
Follow walk,3
Pattern pt_loop
}
}
PlayerFriendly
Unused Postal3Script function
Sets NPC to never hit the Player with bullets, aka. Friendly Fire
Syntax
PlayerFriendly [true/false]