Loading map from files
#7

Quote:
Originally Posted by Y_Leѕѕ
Well you said you had code to load checkpoints - start by reading that code to see what it does and modify things slowly. If you can't remember how to script you need to do what you did when you first started - look at existing code and modify it to see what happens, then go and learn from there.
Well, the checkpoint code isn't mine. I'm currently working on a mod of Yagu's Race filterscript (again) with more features. The thing is, that I don't know how to read out files properly, so that it's like that:
Код:
racemap = {
CreateObject(1st line of file);
CreateObject(2nd line of file);
...}
and later
Код:
DestroyObject(racemap);
Reply


Messages In This Thread
Loading map from files - by Vollzeitfan - 13.09.2009, 16:08
Re: Loading map from files - by Vollzeitfan - 13.09.2009, 17:27
Re: Loading map from files - by Peter_Corneile - 13.09.2009, 17:27
Re: Loading map from files - by Vollzeitfan - 13.09.2009, 17:34
Re: Loading map from files - by Peter_Corneile - 13.09.2009, 17:45
Re: Loading map from files - by Vollzeitfan - 13.09.2009, 17:47
Re: Loading map from files - by Vollzeitfan - 13.09.2009, 18:07
Re: Loading map from files - by Peter_Corneile - 13.09.2009, 18:11
Re: Loading map from files - by Vollzeitfan - 13.09.2009, 18:21
Re: Loading map from files - by Peter_Corneile - 13.09.2009, 18:24
Re: Loading map from files - by Vollzeitfan - 13.09.2009, 18:29
Re: Loading map from files - by Peter_Corneile - 13.09.2009, 18:30
Re: Loading map from files - by Vollzeitfan - 13.09.2009, 18:33
Re: Loading map from files - by Vollzeitfan - 14.09.2009, 18:12

Forum Jump:


Users browsing this thread: 1 Guest(s)