System · 12
Scripts can now read whether an object is in the Background or Active physics layer.
object physics layer readoutScripts can read world position and direction from an equipped weapon to place custom projectiles.
weapon muzzle and laser infoAdded console writing methods, with one taking a format string and arguments, for quicker formatted output.
console output helperScripts can make a player drop a specified weapon type with a given velocity at any time.
weapon disarm functionScripts can deal misc/other damage to players using the game's built-in player damage rules.
player damage functionNew filter flags let scripts control whether projectiles are absorbed on hit.
projectile absorption filterGetObjectsByArea gained a second parameter so scripts can query the Active, Background, or All physics layers, including the background Box2D world holding FarBg and PathNode objects.
getobjectsbyarea physics layer filterScripts can check whether a player has toggled throwing mode.
throwing mode readoutResetTrigger restarts the alternating trigger at its first item.
alternating trigger resetScripts can read and set weapon item despawn time, despawning state, and break-on-drop behaviour through new DespawnTime, SetDespawnTime, Despawning, BreakOnDrop and SetBreakOnDrop members.
weapon item despawn controlScripts can listen for items being added to or removed from player equipment.
weapon added/removed eventScripts can reset, start, and stop timers and check whether a timer is running via ResetTrigger, StartTimer, StopTimer and IsTimerRunning.
timer trigger control
Fix · 4
Fixed a NullReferenceException when calling Game.CreateObject() inside ObjectDamageCallback.
null reference crash in damage callbackDamage from SawBlades and StreetsweeperBlades now counts toward TotalOtherDamageTaken instead of TotalMeleeDamageTaken.
damage statistics misclassificationEmpty arrays are now saved correctly instead of being read back as arrays of length 1.
empty array save bugThe default 'My Project' label in the documentation was changed to 'Superfighters Deluxe'.
documentation project label


