Close (script event)

Game class

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

Description

Closes the door.

Usage

void close( )

Parameters

  • tba

Examples

// Opens or closes a door depending on it's current state ...
 
void doorToggle(ent door)
{
        if (door.isOpen())
        {
                door.close();
        } else  {
                door.open();
        }
}

Notes

tba