Version 2.8.0
Version 2.8.0
IMPORTANT CHANGES: PLEASE READ
In this version, the auto_run_scripts, loop_scripts, and on config are all disappearing. These configs are not being removed, but are instead replaced with the following script flags:
To make a script run automatically when the server restarts, add !-- AUTORUN at the top of the script.
To make a script automatically loop when it finishes, add !-- LOOP at the top of the script.
To make a script run when an event occurs, add !-- EVENT evName. Replace “evName” with the name of the event that you are targeting (eg. Died) at the top of a script.
- Event-specific variables, such as
{EVPLAYER}, are unchanged.
Additionally, GOTOIF has been changed. In particular, the falseLine parameter is being removed, and SE will go to the next line if the condition is false instead of a label. If you are currently relying on this behavior, add the !-- OLD-GOTOIF flag to the top of the script, and no changes will be required at this time. However, the !-- OLD-GOTOIF flag is temporary and will be removed soon, requiring changes eventually. Information about the GOTOIF action will only be relevant to the new GOTOIF action.
The easiest solution to this is to simply use the GOTO action after the GOTOIF statement, and go to the label that was used for the falseLine parameter.
Additions
Actions
- Added
ADVCASSIEaction (by @elektryk_andrzej) - Added
SILENTCASSIEPLAYERaction - Added
PLUGINaction - Added
SCPANNOUNCEMENTdisable key - Added
ELEVATORaction (by @elektryk_andrzej) - Added
ARM/DISARM/OPEN/CLOSEmodes toWARHEADaction
Variables
- Added
{WARHEADARMED}and{WARHEADOPENED}variables - Added
{GENERATORS}variable (by @elektryk_andrzej) - Added
{RAND}variable (by @elektryk_andrzej) - Added
{SCP173OBSERVERS}(by @elektryk_andrzej)
Miscellaneous
- Plenty of documentation updates! Check out the
shelpcommand for a lot more documentation :)
Changes (non-breaking)
STOPaction can now stop specific scripts (by @elektryk_andrzej)RESKINaction can now set reskin targets (by @elektryk_andrzej)- HelpCommandResponse.txt file is now marked as hidden on windows PCs
- Added
PVARalias toPLAYERVARaction (by @elektryk_andrzej) - Added
PDATAalias toPLAYERDATAaction (by @elektryk_andrzej)
Changes (breaking)
- Changed
auto_run_scriptsconfig to!-- AUTORUNflag - Changed
looped_scriptsconfig to!-- LOOPflag - Changed
onconfig to!-- EVENT <evName>flag GOTOIFaction now only supports the trueLine argument (by @elektryk_andrzej)
Bug Fixes
- Fixed action aliases
- Fixed
INDEXVARaction - Fixed
EFFECTaction’s intensity argument - Fixed conditions and the <= and >= operators
- Fixed
{ROUND}variable
Suspected issues
{MAX}variable returning no player objects