Log in

View Full Version : Assortment of beginner questions



ragebugger
06-26-2012, 06:30 PM
For each Player[i] there are variables like Name and Pass but also WorldInfo and BoxRewards. What are/how do you use WorldInfo and BoxRewards? Also, even if you choose XP for BoxRewards, how do you choose which skill to put it in? (Construction...)

Also what do these do?
Smart_Signed
Smart_SuperDetail

Is there a place where I can find descriptions of variables? Because there's that search bar on the left for functions/procedures.

Is there a way to make the compass north and set the angle to high at the same time by pressing up and whatever arrow key at the same time, instead of one after another like the following?
MakeCompass('n');
SetAngle(SRL_ANGLE_HIGH);

Thanks :bart:

Based Lord
06-26-2012, 07:05 PM
Is there a place where I can find descriptions of variables? Because there's that search bar on the left for functions/procedures.

Search the forums with the search button at the top :D
(This goes for all of your questions, you should have been answered before somewhere)
Also the documentation helps for various things
http://docs.villavu.com/srl-5/


Is there a way to make the compass north and set the angle to high at the same time by pressing up and whatever arrow key at the same time, instead of one after another like the following?
MakeCompass('n');
SetAngle(SRL_ANGLE_HIGH);


ClickNorth(SRL_ANGLE_HIGH);

Good luck with your script :)

P1ng
06-26-2012, 11:38 PM
There is one called LampSkill, that's for which skill it is in.
Smart_signed and superdetail are for setting up the smart client for your bot to run through, nothing much to do here as a scripter as they will just stay the same from script to script.
For descriptions on variables either google their name (they are the same across many scripting languages) or have a look in the beginner's tutorials they have some explanations for what the simpler ones are