<- CRPL reference <- Input Commands

EnableAlternateControlMode

ArgumentsResultNotation
Alternate Control Mode b1 –

Description

Enabling the alternate control mode hides most of the user interface panel for alternate style missions, such as the Credits mission.

EnableAlternateControlMode takes one argument from the stack. If TRUE it hides most of the menu enabling the alternate mode. If FALSE, it enables normal mode.

Recommend you provide the player with some instructions when using this mode.

Examples

#Enable Alternate Control Mode
once
	EnableAlternateControlMode(TRUE)
endonce

# Sample control instructions from Credits mission
if (not(<-messageDismissed))
	ShowMessageDismissible("Move: WASD or Arrow keys.\nFire: Left Mouse.\nDestroy Emitters: Get near, press SPACE" ScreenWidth div(2) sub (405) ScreenHeight sub (97))
	if (WasMessageDismissed) 
		TRUE ->messageDismissed
	endif 	
endif