How would i use a script to turn a few lights on and off in a sequence with different timings between each of them?
use("light1"); //light1 off
wait(1000); //wait 1 second
use("light2"); //light2 off
wait(500); //wait 0.5 seconds
use("light1"); //;light1 on
wait(250); //...
use("light3");
wait(750);
use("light2");
wait(1250);
use("light3");
wait(500);
Easy as peanut pie!
This is going to be a dumb question, I DO realise but...
I thought Scripting and Mapping were separate entities, but I assume now that to do a decent/interesting map the two are interwoven? :?
So do I need to find some *cough*newbie*cough* tutorials to learn scripting as well? Cos you see, people's questions are often answered by scripts and I have no idea where the scripts are put or ANYTHING. lol
So someone help please :)
Thank you.
Originally posted by WadeV1589
Easy as peanut pie!
Yum.
well Jedi_Vogel there is no scripts forum here is there and most half decent maps need some kind of script...
maybe we should make an official scripting thread
so if anyone has any question scripting wise they go there.....
we could fill it full of tutorials and stuff to help out newbie scripters
:)
Some scripting tutorials for JK2 can be found here. (
http://www.geocities.com/kengomaps)
no offence dude, but that is JKII and this is the JA forum
maybe you guys should writh the tut
I assume then Coding and Scripting are not the same thing?
Can anyone at all point me in a good direction for learning to script JA Maps (not JO unless purely compatible), as when I do something, I like to do it properly
Icarus (JO) has the same basics as Icarus II (JA). Those tutorials still apply.
Thanks :)
And the Icarus Tutorials can be located where? And Icarus, I assume, is a separate program. Not having yet had time to unpack the JA SDK, can you tell me if it's in there?
btw the difference between coding and scripting is that coding is the stuf in the .exe and scripting is what the exe uses for info
Icarus II comes with the SDk, and the tutorials are over at
http://www.geocities.com/kengomaps/tutorials.html).
Especially the cutscene tutorials explain the basic functions of scripting.