Category:Script commands linking entities
Jump to navigation
Jump to search
These script commands make it so that entities will move (or will no longer move) with other entities.
Comand | Context | Description |
---|---|---|
attach <source> <sourcevertex> <target> <targetvertex> | For self | Link the position and rotation of an entity to another entity. |
detach <source> <target> | For self | Unlink the position and rotation of an entity from another entity. |
equip [-r] player | Any Entity | Make the player equip or unequip the caller. |
inventory add <script> | Any Entity | Create a single new item and place it into the inventory. |
inventory addfromscene <item> | Any Entity | Add an existing item to the inventory. |
inventory addmulti <script> <count*> | Any Entity | Create a new item stack and place it into the inventory. |
inventory playeradd <script> | Ignored | Create a single new item and place it into the player inventory. |
inventory playeraddfromscene <item> | For self | Add an existing item to the player inventory. |
inventory playeraddmulti <script> <count*> | Ignored | Create a new item stack and place it into the player inventory. |
linkobjtome <source*> <vertex> | Any Entity | Link the position and rotation of an entity to the caller. |
replaceme <script> | Any Entity | Create a new replacement entity. |
setweapon [-h] <class> | NPCs | Create and equip a weapon. |
specialfx torch | Items | Equip or unequip the caller as a torch. |
specialfx torchoff | Ignored | Unequip and douse the torch currently equipped by the player. |
Pages in category "Script commands linking entities"
The following 14 pages are in this category, out of 14 total.