Introduction

Installation

Configuring Objects

Spacecalls

Events

Coordinates

Tips & Tricks

Portable Space EngineBuilder's Guide

Please send comments to Mark Cooke <mpc@star.sr.bham.ac.uk> or vspace@geocities.com

>Miscellaneous Events

EV_BAY_DOORS(Boolean open)

EV_COMM_RECEIVED(dbref sender, Integer frequency, String message)

EV_SHUTDOWN() (New! 0.8.1)

EV_STARTUP()

EV_LOW_POWER()

EV_REACTOR_DRAIN()

EV_TIMER()

Notes:

EV_STARTUP is triggered on an object when it starts up. EV_SHUTDOWN is triggered when an object shuts down. This event can be used to record information to the ship database object. eg. The space designer might want CF_TORP_AMMO to be updated when a ship goes into dock.

EV_LOW_POWER is triggered on an object on each turn when its engine output is below 5% (minimum power to maintain life support).

EV_REACTOR_DRAIN is triggered on a ship when it is experiencing a reactor drain (see the drain_reactor spacecall).

EV_TIMER is called whenever a timer set using the add_timer spacecall expires. The first parameter is the id string for the timer, and the second is a count of the number of times that the timer has triggered the event.


Last modified: 15th March 1998