novo Posted December 4, 2011 Share Posted December 4, 2011 Hi all. I want know the syntax to get the nextmap name. I have race on random. So i want know wich will be the nextmap. Please help me Thanks ! <3 Link to comment
BinSlayer1 Posted December 4, 2011 Share Posted December 4, 2011 Well that's what random means.. you don't know the name of the map When the current race ends, it will calculate the random map (based on stuff like least played or most played) and it will start it So you can't know which one is the next one because the server only knows this right when the current map ends (If I'm not mistaken) However, you can recreate a random nextmap "setter" from scratch that will simply calculate it sooner and this will do what you need, but it will require a lot of work Link to comment
diegofkda Posted December 4, 2011 Share Posted December 4, 2011 No, it knows what map will be the next, visit some race servers dude... But I don't know the way, you can always create an exported function from the Race resource. Link to comment
SDK Posted December 4, 2011 Share Posted December 4, 2011 Nope, default race doesn't know which maps comes next. Like BinSlayer posted (he should know, he's managing one), when a map ends race checks the setting 'random maps' and either starts a vote or finds a new random map. Maybe the servers you are talking about changed there version. So novo, if you want to get the nextmap name during a currently running map, you should create a script that already selects a next map when a new map starts. Store it in some variable and you can do with it whatever you want. Link to comment
novo Posted December 4, 2011 Author Share Posted December 4, 2011 Uhm.. Anyways, thank you all. If anybody knows the way to know nextmap name, please tell me. Bye. Link to comment
-Gus- Posted December 4, 2011 Share Posted December 4, 2011 maybe you can create a script that sets a random nextmap and then creates a label with its name Link to comment
BinSlayer1 Posted December 4, 2011 Share Posted December 4, 2011 Uhm.. Anyways, thank you all.If anybody knows the way to know nextmap name, please tell me. Bye. You will 99% not be given anything ready from scratch as people don't work for free (usually) . You've been given ideas as to how to do this and we'll only help when you got some coding already going and it's failing. Good luck Link to comment
novo Posted December 5, 2011 Author Share Posted December 5, 2011 I will try to make some code and i'll send to you with a PM. I don't want to make public a script that costs money. Thank you BinSlayer1. Link to comment
BinSlayer1 Posted December 5, 2011 Share Posted December 5, 2011 I don't usually help people via PM. You should keep your scripting-related questions to this topic as this is the purpose of this subforum Link to comment
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