Solasta Dungeons Wiki
Advertisement

This script modifies a Plate Activator to only trigger on the second activation.

Aka Rogue Trap.

Code[]

a = Locals.GetNumber("touchTrap")
Locals.SetNumber("touchTrap", a+1) >1

Additional Notes[]

Help[]

All Lua scripting is contained within mapname.lua and is specific to each map. Remember to remove DEBUG messages when you have finished testing.

Vip-crown-2-line.png Dungeon Maker PRO User Guide Rocket-line.png Learn Lua in 15 Minutes
Bank-line.png Script Library Discord-line.png Solasta Discord
Advertisement