PowerUDFreeze.lua
Jump to navigation
Jump to search
| This is the archived page of the old LunaLua documentation The rest of LunaLua related articles in this wiki contain a lot of outdated documentation preserved for historical purposes and may be used with legacy versions of the LunaLua.
Please visit the SMBX2 Documentation Page to access the latest documentation for the LunaLua scripting system of the SMBX2 Project. Adding LunaLua contents into this Wiki is not advised. |
Attention: This page contains dead links!
Get the link here. Does not yet work in mp; need to tweak the code a bit.
What this code does
All enemies stop moving to allow the player time to react when powering up or down
Installation
Place the file powerUDFreeze.lua in either your level's custom graphics folder for use in a level, along with a lunadll.lua file, or in the same directory as your .wld file along with a lunaworld.lua file for use throughout an entire episode.
Usage
Just load the API:
local powerUDFreeze = API.load("powerUDFreeze");