RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[Resolved] (vx) remote conditional self-switch

0 Members and 1 Guest are viewing this topic.

****
Rep:
Level 69
Is there any way to make a conditional branch that checks the status of another events self switch?
ex: if event X's control switch is set to A
          then bla bla bla
I need this because I have a moving event that responds with event touch but I also want it to switch A off using switches or variables (using another event and TDS's remote self switch controller) since 'event touch' doesnt check status until it is ran into. This kind of stuff would be very useful for traps and the like.
Pretty much I want a remote event to check another's self switch and switch it when condition is met.
« Last Edit: August 28, 2011, 05:28:18 AM by Scalinger2 »

*****
Rep:
Level 84
This text is way too personal.
Bronze - GIAW 11 (Hard)Silver - GIAW Halloween
Code: [Select]
Conditional Branch: Script - $game_self_switches[map_id, event_id, self_switch_character]

So if I wanted to check if the self switch "A" of the event with the id of 6, on the map with the id of 1, I would put:

Code: [Select]
$game_self_switches[1, 6, "A"]

in my conditional branch.

****
Rep:
Level 69
thats really cool, thanks