Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Self switch control
#1
TDS Self switch control

This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.


Introduction

Just a simple script that allows you to control self switches of events even if they are on other maps.

Features

* Turns self switches on and off with a simple call script
* Allows you to control self switches from events on other maps


Script

"Script"

Instructions

Put this in a call script to use the effect of the script.

Code:
control_self_switch(map_id, event_id, self_switch, value)

map_id = ID of the map where the event is
event_id = ID of the event you wish to use
self_switch = Self switch to change value('A', 'B', 'C', 'D')
value = true or false

Example:
Code:
control_self_switch(1,  2,  'A',  true)


Compatibility
Seems to work fine for now.

Credits and Thanks
TDS
}




Users browsing this thread: