Skip to content

API Changes SC 5.07

GeckoN edited this page Aug 29, 2017 · 1 revision

Changelog

  • Updated AngelScript to 2.31.1.
  • Added missing add-on "scriptdictionary".
  • Brought back corpse gibbing.
  • Combined functions Inventory_ClearAll() and Inventory_PurgeOnRespawn() into Inventory_RemoveAllFromHolder(). This function now has 4 parameters:
  • CBaseMonster pHolder: Same as before.
  • bool fDrop: Set to TRUE to cause the items to be dropped regularly, otherwise they will be returned instantly.
  • bool fBlockingWeaponsOnly: Set to TRUE to cause only items that block weapon usage to be removed.
  • bool fHonourKeepOnRespawn: Set to TRUE to cause items using option "Keep on respawn" to be retained.
  • Removed redundant class ASDictionary.
  • Removed redundant class ASLinkedList.
  • Replaced deprecated functions in classes ASEntity, ASEntityFuncs, ASMapCycle, ASMonsterEntity, ASScheduler, ASScriptReflection, ASString, and ASUtil.
  • Server plug-ins are now allowed to register custom entities.
Clone this wiki locally