Knockout Immunity: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
Tels (talk | contribs)
m fix broken template link
No edit summary
 
Line 10: Line 10:


  "ko_zone" ""
  "ko_zone" ""
To make an AI fully and always vulnerable to knockout by the blackjack (as in the case of non-combatants like a house servant), set the "ko_alert" spawnarg to "" on the AI:
"ko_alert" ""


{{editing}}
{{editing}}
[[Category:AI]]
[[Category:AI]]

Latest revision as of 13:47, 10 April 2009

Originally written by Ishtvan on http://forums.thedarkmod.com/topic/4048

There is a new key available:

"ko_immune"

Setting this to "1" will make the AI immune to KO from both the blackjack and knockout gas.

To make an AI immune to the blackjack, but not knockout gas, do not set ko_immune to 1, but set the key "ko_zone" to blank, i.e., put the following in the def file or spawnArgs:

"ko_zone" ""

To make an AI fully and always vulnerable to knockout by the blackjack (as in the case of non-combatants like a house servant), set the "ko_alert" spawnarg to "" on the AI:

"ko_alert" ""