Script:keyringadd: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
(Created page with "{{ScriptCommandPage |description=add a key to the player's keyring |parameters= key string* The key ID to add to the keyring |intro= }} When combining a keyring entity with another entity instead of just one {{Event|combine}} event there will be one {{Event|combine}} event for every key ever added to the player's keyring using this command with the key ID as the first event parameter..")
 
mNo edit summary
 
Line 7: Line 7:


When combining a [[Gameplay#Keyring|keyring]] entity with another entity instead of just one {{Event|combine}} event there will be one {{Event|combine}} event for every key ever added to the [[player]]'s keyring using this command with the key ID as the first event parameter..
When combining a [[Gameplay#Keyring|keyring]] entity with another entity instead of just one {{Event|combine}} event there will be one {{Event|combine}} event for every key ever added to the [[player]]'s keyring using this command with the key ID as the first event parameter..
In Arx Fatalis the convention is that they key ID on the keyring is equal to the entity ID of the key being added to the keyring.

Latest revision as of 12:48, 9 July 2022

The keyringadd script command is used to add a key to the player's keyring.

Usage

keyringadd <key*>

Context: Ignored

Parameters:

ParameterTypeDescription
key string or variable The key ID to add to the keyring

When combining a keyring entity with another entity instead of just one combine event there will be one combine event for every key ever added to the player's keyring using this command with the key ID as the first event parameter..

In Arx Fatalis the convention is that they key ID on the keyring is equal to the entity ID of the key being added to the keyring.