COG Message - Selected

Selected is sent by a weapon bin when the weapon is selected.

Sender: The sender will be 0 when selected and 1 when assigned.1
Source: The player selecting the weapon.
Sender Type: System (1).
Source Type: Thing (3).

2) Selected is also sent by a force power's bin when the power is selected in the force power selection box.

Sender: The bin of the force power.
Source: The player selecting the power.
Sender Type: 1 if the player selected the power to the right, or 0 if he selected to the left.
Source Type: Thing (3).

1Weapons can be assigned rather than mounted with the verb, AssignWeapon(). This is used in weap_saber so the weapon will not play the mounting animations when the weapon is assigned to the player at the start of a level.

  • Create:
This page was last modified 03:25, 20 December 2005.   This page has been accessed 220 times.