Placeholders
List of placeholders available in mechanics
Last updated
List of placeholders available in mechanics
Last updated
Sometimes, you may want to use the player's name when sending messages. Or you may want to send a message to the target warning them that a missile has locked onto them, and you use their name to get their attention. You can use the following placeholders in your messages and commands:
Placeholder | Description |
---|---|
| The name of the source entity. For Players, this will be their in-game name, like |
| The x coordinate of the source entity. |
| The y coordinate of the source entity. |
| The z coordinate of the source entity. |
Not every mechanic has a target. For example, WeaponMechanics Shoot.Mechanics
does not have any @Target{}
, just a @Source{}
.
Placeholder | Description |
---|---|
| The name of the target entity. For Players, this will be their in-game name, like |
| The x coordinate of the source entity. |
| The y coordinate of the source entity. |
| The z coordinate of the source entity. |
Some plugins may add placeholders for you to use.
from WeaponMechanicsPlus