HappyBoy Posted December 17, 2009 Author Share Posted December 17, 2009 Heey all :)I tried to make a script which makes you able to train against a dummy or so…(It's my first real script, so it might be really bad...)Place underneath Sub ScriptedTile```Case # If GetPlayerLevel(Index) =< L then CallPlayerWarp(index, Map, X, Y) Call SetTimer("TmrTest") & Index & "," & 1, 1500) End IfEnd Select```Place underneath Sub TmrTest```Case 1 Call SetPlayerXP(Index, GetPlayerXP(index) + N) Call PlayerWarp(Index, Map, X, Y) Call Remove Timer("TmrTest" & index & "," & 1)End Select```How does it work? :huh:- Well, first you have to choose a free case in the scripted tiles… change the # to that case.- Than you have to put in the max level you can be to use a training dummy.- The CallPlayerWarp is to warp the person to a room with a background of a dummy or so, which has block around the character and fringe tiles on top of him.-Map = map of this room, X = the X where you have to go to, Y = same as X, but than with Y-the timer is set to 1500 so it'll be 15 seconds to train.-N = the number input of the XP amount.-Warp = the Map+X+Y where to come after trainingIt is a self thought of system which I think works, please tell me what does and what doesn't work...remember, this is my first made script... I have made a Map thing, but that's easy :p Link to comment Share on other sites More sharing options...
Drummerpete Posted December 17, 2009 Share Posted December 17, 2009 Well, if two people use it they will be on the same map, won't they? Link to comment Share on other sites More sharing options...
HappyBoy Posted December 17, 2009 Author Share Posted December 17, 2009 yes, but you can't see each other, because (like I said) you have to put a fringe thing on top of the place they'll spawn 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