BlockTrigger

From Moondust Wiki
Revision as of 00:09, 9 May 2015 by Horikawa otane (talk | contribs) (Created page with "Category: LunaDLL Category: Autocode Commands ==Prototype== BlockTrigger,0,BLOCK ID,URDL,EVENT,Active time,OPTION ==Description== When player touches any block of typ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Prototype

BlockTrigger,0,BLOCK ID,URDL,EVENT,Active time,OPTION

Description

When player touches any block of type BLOCK ID, activates EVENT. URDL determines what type of interaction the player must have with the block.

Notes

URDL = 1 = Player on top of block URDL = 2 = Player touching right side URDL = 3 = Player touching bottom URDL = 4 = Player touching left side 0 and 5 have an unknown interaction

This command supports the "once" OPTION, meaning if you enter "once" as the final parameter it will only activate once and then delete itself.

Examples

// Activate event #1000 when player lands on basic wood block (block ID 1) only once
BlockTrigger,0,1,1,1000,0,once