Module twdll_character

Campaign character properties for Rome 2.

Functions

SetMovementPoints (character, value) Sets the remaining movement points for the character.
GetAmbition (character) Gets the ambition level of the character.
SetAmbition (character, value) Sets the ambition level of the character.
GetGravitas (character) Gets the gravitas of the character.
SetGravitas (character, value) Sets the gravitas of the character.
GetMemoryAddress (character) Returns the memory address of the real character object as a hexadecimal string.


Functions

SetMovementPoints (character, value)
Sets the remaining movement points for the character.

Parameters:

  • character userdata the character object (first argument)
  • value integer new movement points
GetAmbition (character)
Gets the ambition level of the character.

Parameters:

  • character userdata the character object (first argument)

Returns:

    integer ambition level
SetAmbition (character, value)
Sets the ambition level of the character.

Parameters:

  • character userdata the character object (first argument)
  • value integer new ambition level
GetGravitas (character)
Gets the gravitas of the character.

Parameters:

  • character userdata the character object (first argument)

Returns:

    integer gravitas
SetGravitas (character, value)
Sets the gravitas of the character.

Parameters:

  • character userdata the character object (first argument)
  • value integer new gravitas
GetMemoryAddress (character)
Returns the memory address of the real character object as a hexadecimal string.

Parameters:

  • character userdata the character object (first argument)

Returns:

    string memory address (e.g. "0x12345678")
generated by LDoc 1.5.0