Updated Base NPC (markdown)

Blixibon 2019-11-28 18:53:49 -06:00
parent 916a1d0b4a
commit 74f4b258e7

@ -6,6 +6,8 @@
This page lists changes to `CAI_BaseNPC`, which every NPC derives from. This means every NPC in the game technically possesses these changes, although some changes might only be relevant to a specific group of them.
There are also [[Base Combat Character]] changes, which apply to both NPCs *and* players.
Some I/O were ported from other games or were already possible through other, more complicated means (e.g. keyvalues changed with AddOutput).
### Inputs
@ -17,7 +19,7 @@ Some I/O were ported from other games or were already possible through other, mo
* **PickupWeapon** `<string>` - Makes a NPC look for and pick up the specified weapon, which should be an entity in the world.
* **PickupItem** `<string>` - Makes a NPC look for and pick up the specified item, like a health vial or even a frag grenade.
[[Additional weapon inputs exist.|Base Combat Character]]
[[Additional weapon inputs exist on Base Combat Character.|Base Combat Character]]
---
* **SetFriendlyFire** `<integer>` - Overrides how the game should treat friendly fire towards a specific NPC. 0 = No friendly fire, 1 = Friendly fire, 2 = Use NPC settings/no override