Example: Assigning a selector button to a labeled [CONFIG] block


Do not do what is shown in the example below. In the example, the dogfight switch is set up as a game action selector, and one of the dogfight buttons is assigned to a config block referenced by the dogfight SELECTOR statement.

[CONFIG] ATTACK
assignment .
assignment .
:

'Selector_Dogfight_Switch'
ASSIGN 'Selector_Dogfight_Forward' TO ForwardGroup
ASSIGN 'Selector_Dogfight_Middle' TO MiddleGroup
ASSIGN 'Selector_Dogfight_Backward' TO BackGroup .
[END]

[CONFIG] MiddleGroup FOR ATTACK
// these are the game action assignments that
// are selected by the dogfight middle position
assignment .
assignment .
:

S10 SENDS SHF a . // Don't put this here--S10 is a dogfight button
:
[END]


home