<RetVar> = This is the 'variable' that stores the returned integer.
This command is a simple query to get the Kha'ak aggression level. The aggression level is how the game engine determines how often to spawn a random Kha'ak attack. Used extensively in X3R.
Example:
* test the 'get Kha'ak aggression level' command
$Agres.Level = get Kha'ak aggression level
write to player logbook $Agres.Level
return null
The result is an integer. It is output to the player logbook for validation.
Note:
The valid return range is between 0 to 100 inclusive. Custom game in X3TC v3.0 returns a value of 15.
Related Commands:
set Kha'ak aggression level to <Var/Number>
Command Location:
- »» General Object Commands
<RetVar> = get Kha'ak aggression level