ScarDoc

Start typing to search the SCAR reference.

Function
SGroup

SGroup_EnableAttention

Sets whether an entity pays attention to its surroundings

On this page
SGroup_EnableAttention(sgroup, attentive)

Description

Sets whether an entity pays attention to its surroundings

Parameters

  • sgroupSGroupIDrequired
  • attentiveBooleanrequired

Returns

Void

Source

Declared in the game's script sources at:

scar/groups.scar