1st-rapid-response-force / Fusion

Dedicated runtime for Server Side functions
1 stars 0 forks source link

persistence/player/position #1

Closed mrgwilliam closed 8 years ago

mrgwilliam commented 8 years ago

I have updated the new position module.

For reference purposes the framework will use the following server code

What method is this expected?

AJCStriker commented 8 years ago

Player Save Position has the following function header:

save_position ( server_id, player_id, position[x, y, z] )

where:

server_id is the ID of the server returned from the register_server command player_id is the GUID of the player whose position is being stored position is an array of x, y, z form containing the vectorized position of the unit.

AJCStriker commented 8 years ago

Player Restore Position has the following function header:

restore_position( server_id, player_id )

where:

server_id is the id of the server returned from register_server player_id is the GUID of the player being persisted