Voxel Game Maker

Docs Cookbook

Unlockable ability

On a statue or pickup, a Trigger (Advanced)

#Without code

  1. On a statue or pickup, a Trigger (Advanced) When touch, Then Allow / block a move (run, jump, attack, climb or swim).
  2. Add Show banner ("You can swim now!").
  3. Block the move at the start with the same action on a Trigger When enters the world.

#Quick code

Where it goes: on the statue, Event: Player presses E.

allow("swim", true)
banner("You can swim now!")