Player::aimTarget: Difference between revisions
(Created page with "This property is the aim target of a player. <br/> '''Note: this property is read-only. If player currently isn't aiming, this property will be last aim t...") |
No edit summary |
||
| Line 2: | Line 2: | ||
<br/> | <br/> | ||
'''Note: this property is read-only. If player currently [[Player::isAiming|isn't aiming]], this property will be last aim target''' | '''Note: this property is read-only. If player currently [[Player::isAiming|isn't aiming]], this property will be last aim target''' | ||
== Example == | |||
<source lang="javascript"> | |||
if (player.isAiming) | |||
player.outputChatBox('You aiming target is ' + player.aimTarget); | |||
</source> | |||
Revision as of 19:47, 4 January 2017
This property is the aim target of a player.
Note: this property is read-only. If player currently isn't aiming, this property will be last aim target
Example
if (player.isAiming)
player.outputChatBox('You aiming target is ' + player.aimTarget);