Skip to content

Version 2.8.0

Choose a tag to compare

@Thundermaker300 Thundermaker300 released this 28 Jan 02:05

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 ADVCASSIE action (by @elektryk_andrzej)
  • Added SILENTCASSIEPLAYER action
  • Added PLUGIN action
  • Added SCPANNOUNCEMENT disable key
  • Added ELEVATOR action (by @elektryk_andrzej)
  • Added ARM/DISARM/OPEN/CLOSE modes to WARHEAD action

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 shelp command for a lot more documentation :)

Changes (non-breaking)

  • STOP action can now stop specific scripts (by @elektryk_andrzej)
  • RESKIN action can now set reskin targets (by @elektryk_andrzej)
  • HelpCommandResponse.txt file is now marked as hidden on windows PCs
  • Added PVAR alias to PLAYERVAR action (by @elektryk_andrzej)
  • Added PDATA alias to PLAYERDATA action (by @elektryk_andrzej)

Changes (breaking)

  • Changed auto_run_scripts config to!-- AUTORUN flag
  • Changed looped_scripts config to !-- LOOP flag
  • Changed on config to !-- EVENT <evName> flag
  • GOTOIF action now only supports the trueLine argument (by @elektryk_andrzej)

Bug Fixes

  • Fixed action aliases
  • Fixed INDEXVAR action
  • Fixed EFFECT action’s intensity argument
  • Fixed conditions and the <= and >= operators
  • Fixed {ROUND} variable

Suspected issues

  • {MAX} variable returning no player objects