Jump to content
Sign in to follow this  
jeppelykke

Scripting help!

Recommended Posts

Hey Hey

I like to learn abit about scripting a script, and i have this trigger that repeats it self each time a UNIT enters it.

Now what i need to learn is how to make something like

if Unit1 = Soldiers23 Goto :Unit1

:unit

and it script here

and a exit command so it dont perform any other command thats below this.

Do you know any homepage or site or anything i can read up on thise please let me know. smile.gif

Best Regards

Jeppe Lykke, Denmark

Share this post


Link to post
Share on other sites

Guess nonone does sad.gif

(THIS IS not the script just end exsample)

Could you give me few info how to make it...

like say i have a script:

("This is the part i dont know")

i know thats not the correct command, but i need to know what to write after the command to make it GOTO that section and what do i write in the section so it knows this is the section it should jump to.

EG:

if player = Group1 goto "gruope1"

if player = Group2 goto "gruope2"

:groupe1 <- Not sure if thats how its done

titletext ["Welcome Alpha Groupe","plain"]

exit

:groupe2

titletext ["Welcome Omega Groupe","plain"]

exit

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×