Skip to content

DEV ACS Map APIs

PROPHESSOR edited this page Nov 3, 2018 · 10 revisions

ACS Map APIs

Contents

Scripts

The Map APIs contains a acs/mapapis.acs file.

Script 3000 - Door Unlocker

Opens the specified door (change action to Script 3002 and change texture to opened).

Script 3000 (int line_front, int line_back, bool nosound = false) // Door Unlocker
  • line_front - Id of the door's front line
  • line_front - Id of the door's back line
  • nosound - Don't play the "Access granted" sound

Note! If the door is mirrored while executing this script, swap the door_front and door_back values.

Script 3001 - Door Closed

Display "Door closed!" text and play "Access denied" sound.

Script 3001 (void) // Door Closed

Script 3002 - Generic Door

Generic door with default DRRP open parameters.

Script 3002 (int sectorid = 0) // Generic Door
  • sectorid - Id of the door's sector (use 0 to open activator's sector)

Script 3003 - Secret Door

Secret door with default DRRP open parameters.

Script 3003 (int sectorid = 0) // Secret Door
  • sectorid - Id of the door's sector (use 0 to open activator's sector)

Script 3004 - Give Automap

Give automap

Script 3004 (void) // Give Automap

Script 3005 - WIP Level

Display message

Warning!
This level is under construction!
Part of the functionality may not work correctly, or not work at all!
Script 3005 (void) // WIP Level