This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| des-refmat:lua-commands [2025/02/26 01:00] – admin | des-refmat:lua-commands [2026/04/08 00:51] (current) – greatgramcracker | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| - | Every Lua command in Demon' | + | Every Lua command in Demon' |
| Every command is followed by an example of how it's used in game. | Every command is followed by an example of how it's used in game. | ||
| These examples will be cleaned up later. Currently they may look like this: | These examples will be cleaned up later. Currently they may look like this: | ||
| Line 13: | Line 13: | ||
| ===== Action ===== | ===== Action ===== | ||
| - | < | + | < |
| function Conditions_Action() | function Conditions_Action() | ||
| Line 80: | Line 80: | ||
| ===== Animation ===== | ===== Animation ===== | ||
| - | < | + | < |
| function Conditions_Animation() | function Conditions_Animation() | ||
| Line 175: | Line 175: | ||
| ===== Body and Part ===== | ===== Body and Part ===== | ||
| - | < | + | < |
| function BodyAndParts() | function BodyAndParts() | ||
| Line 214: | Line 214: | ||
| ===== Boss ===== | ===== Boss ===== | ||
| - | < | + | < |
| function Conditions_BossSpecific() --Only used by Phalanx | function Conditions_BossSpecific() --Only used by Phalanx | ||
| Line 421: | Line 421: | ||
| ===== Camera ===== | ===== Camera ===== | ||
| - | < | + | < |
| function Camera() | function Camera() | ||
| Line 456: | Line 456: | ||
| ===== Character ===== | ===== Character ===== | ||
| - | < | + | < |
| function Conditions_Character() | function Conditions_Character() | ||
| Line 575: | Line 575: | ||
| ===== Character Param ===== | ===== Character Param ===== | ||
| - | < | + | < |
| function CharacterParam() | function CharacterParam() | ||
| Line 646: | Line 646: | ||
| ===== Collision ===== | ===== Collision ===== | ||
| - | < | + | < |
| function Collision() | function Collision() | ||
| Line 664: | Line 664: | ||
| ===== Count and Clear ===== | ===== Count and Clear ===== | ||
| - | < | + | < |
| function Conditions_Count() | function Conditions_Count() | ||
| Line 707: | Line 707: | ||
| ===== Distance ===== | ===== Distance ===== | ||
| - | < | + | < |
| function Conditions_Distance() | function Conditions_Distance() | ||
| Line 742: | Line 742: | ||
| ===== Draw ===== | ===== Draw ===== | ||
| - | < | + | < |
| function Draw() | function Draw() | ||
| Line 764: | Line 764: | ||
| ===== Event ===== | ===== Event ===== | ||
| - | < | + | < |
| function Conditions_Event() | function Conditions_Event() | ||
| Line 847: | Line 847: | ||
| ===== Generator ===== | ===== Generator ===== | ||
| - | < | + | < |
| function Generator() | function Generator() | ||
| Line 868: | Line 868: | ||
| ===== Info ===== | ===== Info ===== | ||
| - | < | + | < |
| function Info() | function Info() | ||
| Line 911: | Line 911: | ||
| ===== Inventory and Items (Treasure) ===== | ===== Inventory and Items (Treasure) ===== | ||
| - | < | + | < |
| function Conditions_InventoryAndItems() | function Conditions_InventoryAndItems() | ||
| Line 982: | Line 982: | ||
| ===== Lua Call ===== | ===== Lua Call ===== | ||
| - | < | + | < |
| function LuaCall() | function LuaCall() | ||
| Line 1013: | Line 1013: | ||
| ===== Map and Block ===== | ===== Map and Block ===== | ||
| - | < | + | < |
| function MapAndBlock() | function MapAndBlock() | ||
| Line 1063: | Line 1063: | ||
| ===== Menu ===== | ===== Menu ===== | ||
| - | < | + | < |
| function Conditions_Menu() | function Conditions_Menu() | ||
| Line 1114: | Line 1114: | ||
| ===== Miscellaneous ===== | ===== Miscellaneous ===== | ||
| - | < | + | < |
| function Conditions_Miscellaneous() | function Conditions_Miscellaneous() | ||
| Line 1193: | Line 1193: | ||
| ===== Move ===== | ===== Move ===== | ||
| - | < | + | < |
| function Move() | function Move() | ||
| Line 1224: | Line 1224: | ||
| ===== Objects ===== | ===== Objects ===== | ||
| - | < | + | < |
| function Conditions_Objects() | function Conditions_Objects() | ||
| Line 1294: | Line 1294: | ||
| ===== Online ===== | ===== Online ===== | ||
| - | < | + | < |
| function Conditions_Online() | function Conditions_Online() | ||
| Line 1537: | Line 1537: | ||
| ===== Player ===== | ===== Player ===== | ||
| - | < | + | < |
| function Conditions_Player() | function Conditions_Player() | ||
| Line 1680: | Line 1680: | ||
| ===== QWC ===== | ===== QWC ===== | ||
| - | < | + | < |
| function Conditions_QWC() | function Conditions_QWC() | ||
| Line 1711: | Line 1711: | ||
| ===== Remo and Movies ===== | ===== Remo and Movies ===== | ||
| - | < | + | < |
| function Conditions_RemoAndMovies() | function Conditions_RemoAndMovies() | ||
| Line 1746: | Line 1746: | ||
| ===== Regions ===== | ===== Regions ===== | ||
| - | < | + | < |
| function Conditions_Regions() | function Conditions_Regions() | ||
| Line 1790: | Line 1790: | ||
| ===== Sfx ===== | ===== Sfx ===== | ||
| - | < | + | < |
| function Sfx() | function Sfx() | ||
| Line 1845: | Line 1845: | ||
| ===== Sound Effect ===== | ===== Sound Effect ===== | ||
| - | < | + | < |
| function SE() | function SE() | ||
| Line 1868: | Line 1868: | ||
| ===== Special Effect ===== | ===== Special Effect ===== | ||
| - | < | + | < |
| function SpecialEffect() | function SpecialEffect() | ||
| Line 1903: | Line 1903: | ||
| ===== State ===== | ===== State ===== | ||
| - | < | + | < |
| function State() | function State() | ||
| Line 1926: | Line 1926: | ||
| ===== Talk ===== | ===== Talk ===== | ||
| - | < | + | < |
| function Conditions_Talk() | function Conditions_Talk() | ||
| Line 1984: | Line 1984: | ||
| ===== Target and Think ===== | ===== Target and Think ===== | ||
| - | < | + | < |
| function Conditions_TargetAndThink() | function Conditions_TargetAndThink() | ||
| Line 2023: | Line 2023: | ||
| ===== Text Effect and Msg ===== | ===== Text Effect and Msg ===== | ||
| - | < | + | < |
| function Conditions_TextEffectAndMsg() | function Conditions_TextEffectAndMsg() | ||
| Line 2069: | Line 2069: | ||
| ===== Timer, Random, and RegistFunc ===== | ===== Timer, Random, and RegistFunc ===== | ||
| - | < | + | < |
| function Conditions_TimerRandomParam() | function Conditions_TimerRandomParam() | ||
| Line 2104: | Line 2104: | ||
| ===== Tutorial ===== | ===== Tutorial ===== | ||
| - | < | + | < |
| function Tutorial() | function Tutorial() | ||
| Line 2123: | Line 2123: | ||
| ===== Velocity ===== | ===== Velocity ===== | ||
| - | < | + | < |
| function Velocity() | function Velocity() | ||
| Line 2146: | Line 2146: | ||
| ===== Warp ===== | ===== Warp ===== | ||
| - | < | + | < |
| function Warp() | function Warp() | ||
| Line 2169: | Line 2169: | ||
| ===== Unused Functions ===== | ===== Unused Functions ===== | ||
| - | < | + | < |
| function Unused() | function Unused() | ||