PowerupManager

From Multi Theft Auto: Wiki
Revision as of 12:29, 17 September 2007 by Sinnerg (talk | contribs)
Jump to navigation Jump to search

The powerupManager library was created to ease the use of advanced, more custom pickups (powerups).

It exists out of server and client scripts to create, handle and destroy custom powerup items.

Advanced features contain: custom clientside animations (spin, up-down), custom collision element for triggering, server side triggering (to prevent cheating), change powerup object on the fly (for example triggering such a powerup gives a random advantage based on current modelID), ...

Also since it allows you to set a custom colShape, you can use it for things like tripmines, ...

Used by

  • self

Exported scripting functions

Server

Client

Events

Events prefixed with pum are ceated for internal usage only. You still can hook them, but I suggest you don't.

Server

Client