-
-
Notifications
You must be signed in to change notification settings - Fork 8
DEV ACS Map APIs
PROPHESSOR edited this page Nov 3, 2018
·
10 revisions
- Script 3000 - Door Unlocker
- Script 3001 - Door Closed
- Script 3002 - Generic Door
- Script 3003 - Secret Door
- Script 3003 - Give Automap
- Script 3003 - WIP Level
The Map APIs contains a acs/mapapis.acs
file.
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.
Display "Door closed!" text and play "Access denied" sound.
Script 3001 (void) // Door Closed
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)
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)
Give automap
Script 3004 (void) // Give Automap
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