IsA (script event)

The information on this page is specific to Quake 4 .


Game class

This event operates on an instance of the game class type {{{gameclass}}}

Description

Determines if an entity is of a certain type.

Usage

float isA( string className )

Parameters

  • [className] - Type of entity you’re comparing to.

Examples

$my_entity.isA( "info_player_start" );

Notes

Returns 0 if false, 1 if true.