Skip to content

Instantly share code, notes, and snippets.

@ghostrider-05
Created September 6, 2022 21:07
Show Gist options
  • Save ghostrider-05/25f66be91b06bd92abe9199018aeba8c to your computer and use it in GitHub Desktop.
Save ghostrider-05/25f66be91b06bd92abe9199018aeba8c to your computer and use it in GitHub Desktop.
Kismet syntax

Player autocomplete

To get autocomplete, begin with Player(). and then type the property you then need. It will autocomplete and embed more information about the property

Get property

You can pass options into the variable object:

Player(bAllPlayers=False)
Player(bAllPlayers=False,playerIdx=2)
Object(varName=MyObject)

Then you can get the properties by joining them with a .:

Object().Random.Random2.Random3

Sequence

Create a sequence of any nodes from text:

LevelLoaded:(Loaded and Visible, In) > CompareInt(ValueA=0, ValueB=1):(A < B, Show) > SeqAct_DrawText(String="hello world")

The seperator is -> or >. The format for an item is:

<name or class>(variable=value, var2=value2):(outputName, inputName)
or:
<name or class>:(outputName, inputName)
or:
<name or class>(variable=value, var2=value2)
or:
<name or class>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment