Skip to content

AI

Written by: Alian713, Kramb


1. xsGetGoal

Returning Type: int

Prototype: int xsGetGoal(int id)

Parameters:

  1. int id: The goal id/number to get for the current AI

Gets the goal id/number of the current AI

2. xsGetStrategicNumber

Returning Type: int

Prototype: int xsGetStrategicNumber(int id)

Parameters:

  1. int id: The SN to get for the current AI

Gets the SN of the current AI

3. xsSetGoal

Returning Type: int

Prototype: int xsSetGoal(int id, int value)

Parameters:

  1. int id: The goal id/number to get for the current AI
  2. int value: The value to set the goal id/number to

Sets the goal id/number of the current AI

4. xsSetStrategicNumber

Returning Type: int

Prototype: int xsSetStrategicNumber(int id, int value)

Parameters:

  1. int id: The SN to get for the current AI
  2. int value: The value to set the SN to

Sets the SN of the current AI