setBehaviour: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 10: Line 10:
'''Operand types:'''
'''Operand types:'''


'''group:''' [[Group]]
'''group:''' [[Object]] or [[Group]]


'''behaviour:''' [[String]]
'''behaviour:''' [[String]]

Revision as of 19:51, 4 July 2006


group setBehaviour behaviour


Operand types:

group: Object or Group

behaviour: String

Type of returned value:

Nothing

Description:

Set group behaviour mode. Behaviour is one of:

  • "CARELESS"
  • "SAFE"
  • "AWARE"
  • "COMBAT"
  • "STEALTH"


Example:

group1 setBehaviour "safe"