How do you change a unit's behaviour?

You can specify how much danger the unit thinks it is in by using the setBehavior command, the "value" can be one of these:

  • "Careless" (Unit will stand up, shoulder firearms, will not react to gunfire)
  • "Safe" (Unit will stand up, shoulder firearms, will react to gunfire)
  • "Aware" (Unit will stand up, firearm ready)
  • "Combat" (Unit will stay low, firearm ready)
  • "Stealth" (Unit will stay low and/or go prone, firearm ready, will actively seek cover)

unit_name setbehaviour "value"