Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

Remote self switch manipulation

gegerlan edited this page Jun 4, 2011 · 2 revisions

Detail

Filename Author Version Core Update Last Patch Update Active contributor
Switch_check Gegerlan 1.0 - - YES

Version history

Summary

A number of global functions that makes it possible to set self-switches of remote events. Primarily used in the event command script, when longer scripts aren't possible.

Rationale

Interfaces

def switch_on?(entitiy_id, switch, map_id = $game_map.map_id)

Is the provided self-switch turned ON?

switch_off?(entitiy_id, switch, map_id = $game_map.map_id)

Is the provided self-switch turned OFF?

switch_on(entitiy_id, switch, map_id = $game_map.map_id)

Turn the provided self-switch turned ON!

switch_off(entitiy_id, switch, map_id = $game_map.map_id)

Turn the provided self-switch turned OFF!