sm.game.setEnableAggro

Enables and disables aggro. If true, player's will be detected as targets.

Kind: Function

Environments: Game

Game

sm.game.setEnableAggro( enableAggro )

Open the full Game reference

Availability: Server only

Parameters:

Name Type Description
enableAggro boolean The enable state.