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



Introduced in

Version:1.00

Description

Description:Returns a list of all the shots in the current mission that match the given evaluation. The _x variable substitutes the actual object in the evaluation.

Syntax

Syntax:allShots shoteval
Parameters:
  • shoteval: String - Shot evaluation.
Return Value:Array

Examples

Examples:
_shot = allShots "true" // Returns all the shots currently in the game.
_grenades = allShots "'grenade' in str _x" // Returns all grenades currently in the game.

Additional Information

See also: 
Multiplayer: 
Problems: 

Notes