... | @@ -99,8 +99,8 @@ This is basically a new Lua library consisting of a single function called searc |
... | @@ -99,8 +99,8 @@ This is basically a new Lua library consisting of a single function called searc |
|
* (optional) *x1, x2, y1, y2* are coordinates on the map to search the blockmap between, if given
|
|
* (optional) *x1, x2, y1, y2* are coordinates on the map to search the blockmap between, if given
|
|
|
|
|
|
# New Lua hooks
|
|
# New Lua hooks
|
|
* "ShieldSpawn" - toaster made this, so ask her how it works
|
|
* "ShieldSpawn" - A hook called when a shield orb spawning function (like P_SpawnShieldOrb, or any of the monitor spawning functions) is called. Takes player as argument. If returning true, do not spawn existing orb.
|
|
* "ShieldSpecial" - toaster made this, so ask her how it works
|
|
* "ShieldSpecial" - A hook called when pressing spin in midair and you have any shield in SH_NOSTACK (ie, not the fire flower). Takes player as argument. If returning true, do not perform existing shield actions.
|
|
* "MobjMoveBlocked" - A hook that calls functions when your X/Y movement is blocked. It doesn't matter what stopped you, though you have no way to tell anyway. See this Gitlab MR for info: http://git.magicalgirl.moe/STJr/SRB2...ge_requests/67
|
|
* "MobjMoveBlocked" - A hook that calls functions when your X/Y movement is blocked. It doesn't matter what stopped you, though you have no way to tell anyway. See this Gitlab MR for info: http://git.magicalgirl.moe/STJr/SRB2...ge_requests/67
|
|
* "MapThingSpawn" - A hook that calls functions when a certain object type is spawned via a Map Thing on level load. See this GitLab MR for info: http://git.magicalgirl.moe/STJr/SRB2...ge_requests/83
|
|
* "MapThingSpawn" - A hook that calls functions when a certain object type is spawned via a Map Thing on level load. See this GitLab MR for info: http://git.magicalgirl.moe/STJr/SRB2...ge_requests/83
|
|
|
|
|
... | | ... | |