game_save_buffer(buffer)

From ENIGMA

Jump to: navigation, search

Description

Dumps the entire game state, variables, instances, to the given buffer.

Note: It is only to make it simple for beginners to add saving and loading to their game but since it dumps the entire game state and all variables it can be rather inefficient.

Parameters

Parameter Data Type Description
buffer integer index of the buffer to dump the game state to

Return Values

void: This function does not return anything.

Example Call

// demonstrates saving the game state to a buffer
game_save_buffer(mybuffer);
Personal tools
Namespaces
Variants
Actions
Navigation
ENIGMA
Other
Toolbox