Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.00

Description

Description:

Enables shot creation using mouse clicks. The shot is created at the player location, and moves towards the position defined by the mouse.

The mouse click can either be generated using an in-game dialog, or using a WM_LBUTTONDOWN MS Windows message, using the GetMessageExtraInfo to specify the weapon.

Note: In V1.54 and below, the -tws command-line option is required, in order to use this command.

Syntax

Syntax:allowCreateShot enable
Parameters:
Return Value:Nothing

Examples

Examples:
allowCreateShot true;

Mission to demonstrate shot creation, using mouse clicks:


Additional Information

See also: SetLasershotWeapon, createShot
Multiplayer:
Problems:

Notes