LunaDLL API

Note: This API documentation is still a work in progress.

Basic filters

Command Target Param Param Param Active time String
FilterToSmallxxxxLengthx
FilterToBigxxxxLengthx
FilterToFirexxxxLengthx
FilterMountxxxxLengthx
FilterReservePowerupxxxxLengthx
FilterPlayerxPlayer IDFilter to IDxLengthx

General effect commands

Command Target Param Param Param Active time String
HeartSystemDisplay XDisplay YMax heartsxLengthx
InfiniteFlyingxxxxLengthx
ForceFacingNPC IDSectionxxLengthx

Text commands

Command Target Param Param Param Active time String
ShowTextxX positionY positionFont typeLengthString
ShowNPCLifeLeftNPC IDX positionY positionSectionLengthBase Health

Control / Event commands

Command Target Param Param Param Active time String
TriggerNew sectionEventxxxx
TimerTargetActionDisplay?Reset?Lengthx
TriggerRandomPossible event 1Possible event 2Possible event 3Possible event 4Lengthx
TriggerZoneEvent to triggerTop edgeBottom edgeLeft edgeRight edgeOptions
IfNPCNPC IDConditionTrigger sectionEvent to triggerLengthx
OnInputxButtonFirst frame?Event to triggerLengthx
OnCustomCheatxxOnly once?Event to triggerLengthType
OnPlayerMemOffsetValueComparison typeEvent to triggerLengthType
OnGlobalMemAddressValueComparison typeEvent to triggerLengthType
BlockTriggerWhoBlock typeCollision typeEventLengthOptions

Debug commands

Command Target Param Param Param Active time String
DebugPrintxxxxxx
DebugWindowxxxxxx

Examples

Format

#-1
-- Load level --

#0
-- Always --

#5
-- Section 5 --

#1005
-- Custom event 1005 --

#END
    

ShowText

ShowText,0,50,50,3,0,Hi

Advanced Example

#0
IfNPC,178,2,0,1000,0,once

#1000
HeartSystem,610,35,7,0,0,0
SFX,0,83,0,0,0,0
#END
    

Back to Home