MrIce Posted March 1, 2013 Author Share Posted March 1, 2013 **Im just going to explain what the "player-switch" can be used for.**The basics of the event system(recommended to know this before you go over to switches): http://www.touchofdeathforums.com/community/index.php?/topic/128298-eclipse-event-system-tutorial/**Self Switches****Self switches are GLOBAL, wich means when you use self switching, after server reload or player relogg, the switch will reset and the player will be able to do the switch event again.****Player Switches******Player switches are the opposite of self switches, player switches are NOT global, wich means when a player has gone trought the whole switching part, they wont be able to do it again.********How to use(simple):********Using switches are preatty easy once you get a touch of them.****1. **Start by doing a event**2. **When you done a event, add some text that the player will be able to read when event is turned on.**3. **Click the "new page" button on the event window.**4. **Go to the bottom left corner and click the "Switches/variables" button.**5. **Create a player switch name**6. **Go back to page 1, add a new function that turnes the Player switch you just created to 'true'.**7. **Go to page 2, on the left corner turn your player-switcth to 'true'.**8. **Add text on page 2.****Now, when the player turnes the event on, the player will se the text on page 1, but as you entered to turn on player switch after the text , it will switch to event page 2, and show the text on page 2\. Now the player will only be able to se the text of page 2, the player will not be able to se the text of page 1 no more as the switch has been turned on.****Same rule applies for the SELF switch, the only difference is that after relogg or server reload, the self switch will be reset, making the player be able to do it all over again**.**_Using the switch functions, makes it very easy to do one time quests & repeatable quests. ALSO, learning the basics of the "variable" functions, makes it even better. I will add a guide soon on how the variable system works to create "kill x monsters" quests etc.._**Hope this is helpful, will add some pictures and make the guide more simple soon, going off now ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now