Skip to content

Log Action

Namespace: SpaceUsurper

Write a message to the game's log file. Can be useful for debugging.

Inheritance: ObjectFsmAction → Log

Examples

Example

The following example prints a greeting, then the current player position.

1
2
3
4
...
{ "action": "Log", "message": "Hello world!" },
{ "action": "Log", "message": "The player is at: ${playerPos}" },
...

Properties

Name Description
message Message to write.