This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| des-refmat:lua-commands [2025/02/26 00:59] – created admin | des-refmat:lua-commands [2026/04/08 00:51] (current) – greatgramcracker | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Every Lua command in Demon' | + | ====== Lua Commands ====== |
| + | |||
| + | |||
| + | 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 10: | Line 13: | ||
| ===== Action ===== | ===== Action ===== | ||
| - | < | + | < |
| function Conditions_Action() | function Conditions_Action() | ||
| Line 77: | Line 80: | ||
| ===== Animation ===== | ===== Animation ===== | ||
| - | < | + | < |
| function Conditions_Animation() | function Conditions_Animation() | ||
| Line 172: | Line 175: | ||
| ===== Body and Part ===== | ===== Body and Part ===== | ||
| - | < | + | < |
| function BodyAndParts() | function BodyAndParts() | ||
| Line 211: | Line 214: | ||
| ===== Boss ===== | ===== Boss ===== | ||
| - | < | + | < |
| function Conditions_BossSpecific() --Only used by Phalanx | function Conditions_BossSpecific() --Only used by Phalanx | ||
| Line 418: | Line 421: | ||
| ===== Camera ===== | ===== Camera ===== | ||
| - | < | + | < |
| function Camera() | function Camera() | ||
| Line 453: | Line 456: | ||
| ===== Character ===== | ===== Character ===== | ||
| - | < | + | < |
| function Conditions_Character() | function Conditions_Character() | ||
| Line 572: | Line 575: | ||
| ===== Character Param ===== | ===== Character Param ===== | ||
| - | < | + | < |
| function CharacterParam() | function CharacterParam() | ||
| Line 643: | Line 646: | ||
| ===== Collision ===== | ===== Collision ===== | ||
| - | < | + | < |
| function Collision() | function Collision() | ||
| Line 661: | Line 664: | ||
| ===== Count and Clear ===== | ===== Count and Clear ===== | ||
| - | < | + | < |
| function Conditions_Count() | function Conditions_Count() | ||
| Line 704: | Line 707: | ||
| ===== Distance ===== | ===== Distance ===== | ||
| - | < | + | < |
| function Conditions_Distance() | function Conditions_Distance() | ||
| Line 739: | Line 742: | ||
| ===== Draw ===== | ===== Draw ===== | ||
| - | < | + | < |
| function Draw() | function Draw() | ||
| Line 761: | Line 764: | ||
| ===== Event ===== | ===== Event ===== | ||
| - | < | + | < |
| function Conditions_Event() | function Conditions_Event() | ||
| Line 844: | Line 847: | ||
| ===== Generator ===== | ===== Generator ===== | ||
| - | < | + | < |
| function Generator() | function Generator() | ||
| Line 865: | Line 868: | ||
| ===== Info ===== | ===== Info ===== | ||
| - | < | + | < |
| function Info() | function Info() | ||
| Line 908: | Line 911: | ||
| ===== Inventory and Items (Treasure) ===== | ===== Inventory and Items (Treasure) ===== | ||
| - | < | + | < |
| function Conditions_InventoryAndItems() | function Conditions_InventoryAndItems() | ||
| Line 979: | Line 982: | ||
| ===== Lua Call ===== | ===== Lua Call ===== | ||
| - | < | + | < |
| function LuaCall() | function LuaCall() | ||
| Line 1010: | Line 1013: | ||
| ===== Map and Block ===== | ===== Map and Block ===== | ||
| - | < | + | < |
| function MapAndBlock() | function MapAndBlock() | ||
| Line 1060: | Line 1063: | ||
| ===== Menu ===== | ===== Menu ===== | ||
| - | < | + | < |
| function Conditions_Menu() | function Conditions_Menu() | ||
| Line 1111: | Line 1114: | ||
| ===== Miscellaneous ===== | ===== Miscellaneous ===== | ||
| - | < | + | < |
| function Conditions_Miscellaneous() | function Conditions_Miscellaneous() | ||
| Line 1190: | Line 1193: | ||
| ===== Move ===== | ===== Move ===== | ||
| - | < | + | < |
| function Move() | function Move() | ||
| Line 1221: | Line 1224: | ||
| ===== Objects ===== | ===== Objects ===== | ||
| - | < | + | < |
| function Conditions_Objects() | function Conditions_Objects() | ||
| Line 1291: | Line 1294: | ||
| ===== Online ===== | ===== Online ===== | ||
| - | < | + | < |
| function Conditions_Online() | function Conditions_Online() | ||
| Line 1534: | Line 1537: | ||
| ===== Player ===== | ===== Player ===== | ||
| - | < | + | < |
| function Conditions_Player() | function Conditions_Player() | ||
| Line 1677: | Line 1680: | ||
| ===== QWC ===== | ===== QWC ===== | ||
| - | < | + | < |
| function Conditions_QWC() | function Conditions_QWC() | ||
| Line 1708: | Line 1711: | ||
| ===== Remo and Movies ===== | ===== Remo and Movies ===== | ||
| - | < | + | < |
| function Conditions_RemoAndMovies() | function Conditions_RemoAndMovies() | ||
| Line 1743: | Line 1746: | ||
| ===== Regions ===== | ===== Regions ===== | ||
| - | < | + | < |
| function Conditions_Regions() | function Conditions_Regions() | ||
| Line 1787: | Line 1790: | ||
| ===== Sfx ===== | ===== Sfx ===== | ||
| - | < | + | < |
| function Sfx() | function Sfx() | ||
| Line 1842: | Line 1845: | ||
| ===== Sound Effect ===== | ===== Sound Effect ===== | ||
| - | < | + | < |
| function SE() | function SE() | ||
| Line 1865: | Line 1868: | ||
| ===== Special Effect ===== | ===== Special Effect ===== | ||
| - | < | + | < |
| function SpecialEffect() | function SpecialEffect() | ||
| Line 1900: | Line 1903: | ||
| ===== State ===== | ===== State ===== | ||
| - | < | + | < |
| function State() | function State() | ||
| Line 1923: | Line 1926: | ||
| ===== Talk ===== | ===== Talk ===== | ||
| - | < | + | < |
| function Conditions_Talk() | function Conditions_Talk() | ||
| Line 1981: | Line 1984: | ||
| ===== Target and Think ===== | ===== Target and Think ===== | ||
| - | < | + | < |
| function Conditions_TargetAndThink() | function Conditions_TargetAndThink() | ||
| Line 2020: | Line 2023: | ||
| ===== Text Effect and Msg ===== | ===== Text Effect and Msg ===== | ||
| - | < | + | < |
| function Conditions_TextEffectAndMsg() | function Conditions_TextEffectAndMsg() | ||
| Line 2066: | Line 2069: | ||
| ===== Timer, Random, and RegistFunc ===== | ===== Timer, Random, and RegistFunc ===== | ||
| - | < | + | < |
| function Conditions_TimerRandomParam() | function Conditions_TimerRandomParam() | ||
| Line 2101: | Line 2104: | ||
| ===== Tutorial ===== | ===== Tutorial ===== | ||
| - | < | + | < |
| function Tutorial() | function Tutorial() | ||
| Line 2120: | Line 2123: | ||
| ===== Velocity ===== | ===== Velocity ===== | ||
| - | < | + | < |
| function Velocity() | function Velocity() | ||
| Line 2143: | Line 2146: | ||
| ===== Warp ===== | ===== Warp ===== | ||
| - | < | + | < |
| function Warp() | function Warp() | ||
| Line 2166: | Line 2169: | ||
| ===== Unused Functions ===== | ===== Unused Functions ===== | ||
| - | < | + | < |
| function Unused() | function Unused() | ||