Proffessionals world builders
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Scriptng Help Please?

5 posters

Go down

Scriptng Help Please? Empty Scriptng Help Please?

Post by AIR1996 Sun Aug 30, 2009 3:53 pm

Erm... you know in tech theft bottom left attacker gets to capture the sputnik and then it is all linked to the 7 telsa tanks how do you link all units or/and structures to one capture i would like to know so i can make advanced map lol
holla asap please
AIR1996
AIR1996
Fan
Fan

Posts : 46
Join date : 2009-08-30
Location : London

Back to top Go down

Scriptng Help Please? Empty Re: Scriptng Help Please?

Post by Norzaaa Sun Aug 30, 2009 6:27 pm

AIR1996 wrote:Erm... you know in tech theft bottom left attacker gets to capture the sputnik and then it is all linked to the 7 telsa tanks how do you link all units or/and structures to one capture i would like to know so i can make advanced map lol
holla asap please

y dont u just look at tech tehft scripts...

anyawys i think its...

if player owns the spudnik then tesla tanks belong to player
Norzaaa
Norzaaa
ZZZzzzzzz
ZZZzzzzzz

Posts : 180
Join date : 2009-07-25
Age : 28
Location : Canada

History
Special in: None
Awards:
User made maps:

Back to top Go down

Scriptng Help Please? Empty Scriptng Help Please?

Post by AIR1996 Sun Aug 30, 2009 7:23 pm

Lol Know i dont mean just in start of game the player straight away owns the telsa and sputnik i mean
any player has to capture the sputnik to get the telsa's first,
and just to check i made player own sputnik to try connect with telsa dont work lol
AIR1996
AIR1996
Fan
Fan

Posts : 46
Join date : 2009-08-30
Location : London

Back to top Go down

Scriptng Help Please? Empty Re: Scriptng Help Please?

Post by Norzaaa Sun Aug 30, 2009 8:21 pm

AIR1996 wrote:Lol Know i dont mean just in start of game the player straight away owns the telsa and sputnik i mean
any player has to capture the sputnik to get the telsa's first,
and just to check i made player own sputnik to try connect with telsa dont work lol


... the script IS

IF PLAYER OWNS SPUDNIK, TESLA TANKS BELONG TO PLAYER!!!
Norzaaa
Norzaaa
ZZZzzzzzz
ZZZzzzzzz

Posts : 180
Join date : 2009-07-25
Age : 28
Location : Canada

History
Special in: None
Awards:
User made maps:

Back to top Go down

Scriptng Help Please? Empty Re: Scriptng Help Please?

Post by AIR1996 Sun Aug 30, 2009 8:38 pm

YES BOUT HOW DO I GET THE SCRIPTS TO WORK COULD YOU GIVE ME DETAILS PLEASE....
IM NOT SAYING HOW DO THEY START OFF WITH SPUTNIK AND TELSA I KNOW HOW TO THAT
IM ASKING WHEN I MAKE ENGINEER CAPTURE SPUTNIK HOW DO I MAKE TELSA LINKED TO SPUTNIK SO IT IS AUTOMATICLY CAPTURED WITH THE SPUTNIK
AIR1996
AIR1996
Fan
Fan

Posts : 46
Join date : 2009-08-30
Location : London

Back to top Go down

Scriptng Help Please? Empty Re: Scriptng Help Please?

Post by Nanteos Sun Aug 30, 2009 8:50 pm

Name the sputnik 'sputnik1' and the tesla coils 't1' 't2' etc. You can name them differently if you like but this is how I will refer to it as.

Open up the scripts window, and click on new script.

Under the conditions tab, edit the existing condition 'True' and you will see a list of folders. In those folders go Players\Owns\Player Owns Unit.[/25]. Click on Player (the blue underlined word) and select 'This Player' then click on Object (the blue underlined word next to it) and select 'sputnik1'

Now go to the if true tab, edit the existing 'null' and go to Object type\allegiance\Transfer a named object to the control of a player. Set the object to t1, and player to this player. Now click that and click copy, then directly underneath the copy button click on paste, paste it 6 times. Now just edit those so instead of t1 they are t2, t3, t4, t5, and t6.

it should look like this:

*** IF ***
Player '<This Player>' owns Object 'sputnik1'.
*** THEN ***
Object 't1' is transferred to the command of Player '<This Player>'
Object 't2' is transferred to the command of Player '<This Player>'
Object 't3' is transferred to the command of Player '<This Player>'
Object 't4' is transferred to the command of Player '<This Player>'
Object 't5' is transferred to the command of Player '<This Player>'
Object 't6' is transferred to the command of Player '<This Player>'
Object 't7' is transferred to the command of Player '<This Player>'

Hope this has helped. Also, I hope you are not planning to edit Elven's work and claim it as your own..

and please turn off cap locks.. hurts my eyes
Nanteos
Nanteos
Testers Godfather
Testers Godfather

Posts : 237
Join date : 2009-08-06
Age : 29
Location : UK

History
Special in: None
Awards:
User made maps:

Back to top Go down

Scriptng Help Please? Empty Re: Scriptng Help Please?

Post by Norzaaa Sun Aug 30, 2009 9:16 pm

Nanteos wrote:Name the sputnik 'sputnik1' and the tesla coils 't1' 't2' etc. You can name them differently if you like but this is how I will refer to it as.

Open up the scripts window, and click on new script.

Under the conditions tab, edit the existing condition 'True' and you will see a list of folders. In those folders go Players\Owns\Player Owns Unit.[/25]. Click on Player (the blue underlined word) and select 'This Player' then click on Object (the blue underlined word next to it) and select 'sputnik1'

Now go to the if true tab, edit the existing 'null' and go to Object type\allegiance\Transfer a named object to the control of a player. Set the object to t1, and player to this player. Now click that and click copy, then directly underneath the copy button click on paste, paste it 6 times. Now just edit those so instead of t1 they are t2, t3, t4, t5, and t6.

it should look like this:

*** IF ***
Player '<This Player>' owns Object 'sputnik1'.
*** THEN ***
Object 't1' is transferred to the command of Player '<This Player>'
Object 't2' is transferred to the command of Player '<This Player>'
Object 't3' is transferred to the command of Player '<This Player>'
Object 't4' is transferred to the command of Player '<This Player>'
Object 't5' is transferred to the command of Player '<This Player>'
Object 't6' is transferred to the command of Player '<This Player>'
Object 't7' is transferred to the command of Player '<This Player>'

Hope this has helped. Also, I hope you are not planning to edit Elven's work and claim it as your own..

and please turn off cap locks.. hurts my eyes

lol...
i never knew u would script nanteos but it is simple scripting..
i could of said that but i was too lazy to open wb..
Norzaaa
Norzaaa
ZZZzzzzzz
ZZZzzzzzz

Posts : 180
Join date : 2009-07-25
Age : 28
Location : Canada

History
Special in: None
Awards:
User made maps:

Back to top Go down

Scriptng Help Please? Empty Re: Scriptng Help Please?

Post by Elven Mon Aug 31, 2009 2:41 am

Do you know, how to open scripts window Very Happy?
Elven
Elven
Leader
Leader

Posts : 1167
Join date : 2009-07-25
Age : 31
Location : Coca-cola

History
Special in: Scripting
Awards:
User made maps:

https://prowb.forumotion.com

Back to top Go down

Scriptng Help Please? Empty Re: Scriptng Help Please?

Post by Nanteos Mon Aug 31, 2009 7:18 am

haha

Well Norzaaa, I'm no pro world builder, but I'm just starting to get the hang of this.
Nanteos
Nanteos
Testers Godfather
Testers Godfather

Posts : 237
Join date : 2009-08-06
Age : 29
Location : UK

History
Special in: None
Awards:
User made maps:

Back to top Go down

Scriptng Help Please? Empty Re: Scriptng Help Please?

Post by Dawning_Light Mon Aug 31, 2009 7:25 am

Well, you are getting a good hang of it then Very Happy

If you need any more scripting help, post here or ask me Smile
Dawning_Light
Dawning_Light
God of Fan
God of Fan

Posts : 438
Join date : 2009-08-16
Location : PEPSI!

History
Special in: Scripting
Awards:
User made maps:

Back to top Go down

Scriptng Help Please? Empty Re: Scriptng Help Please?

Post by Nanteos Mon Aug 31, 2009 8:14 am

Dawning have you got msn/skype?
Nanteos
Nanteos
Testers Godfather
Testers Godfather

Posts : 237
Join date : 2009-08-06
Age : 29
Location : UK

History
Special in: None
Awards:
User made maps:

Back to top Go down

Scriptng Help Please? Empty Re: Scriptng Help Please?

Post by Dawning_Light Mon Aug 31, 2009 8:16 am

I have Yahoo! Very Happy
Dawning_Light
Dawning_Light
God of Fan
God of Fan

Posts : 438
Join date : 2009-08-16
Location : PEPSI!

History
Special in: Scripting
Awards:
User made maps:

Back to top Go down

Scriptng Help Please? Empty Re: Scriptng Help Please?

Post by AIR1996 Mon Aug 31, 2009 8:20 am

Lol Yeah Elven I can Open Scipts ..... Edit/Scripts
Thanks Nanteos You Helped Alot
Soz About Cap Locks
AIR1996
AIR1996
Fan
Fan

Posts : 46
Join date : 2009-08-30
Location : London

Back to top Go down

Scriptng Help Please? Empty Re: Scriptng Help Please?

Post by Elven Mon Aug 31, 2009 8:31 am

No problem Smile

PS: there is special button for scritps too. Much easier Smile
Elven
Elven
Leader
Leader

Posts : 1167
Join date : 2009-07-25
Age : 31
Location : Coca-cola

History
Special in: Scripting
Awards:
User made maps:

https://prowb.forumotion.com

Back to top Go down

Scriptng Help Please? Empty Re: Scriptng Help Please?

Post by AIR1996 Mon Aug 31, 2009 9:01 am

Lool Yo THis Thing Still Dosent Work How The F do u do it dude
are you meant to create a new team or something
Sorry if i wasted your time
AIR1996
AIR1996
Fan
Fan

Posts : 46
Join date : 2009-08-30
Location : London

Back to top Go down

Scriptng Help Please? Empty Re: Scriptng Help Please?

Post by AIR1996 Mon Aug 31, 2009 9:30 am

Actually NeverMind I took A Look At Elvens Map Scripts And Ive Configured It I got 1 telsa To work
AIR1996
AIR1996
Fan
Fan

Posts : 46
Join date : 2009-08-30
Location : London

Back to top Go down

Scriptng Help Please? Empty Re: Scriptng Help Please?

Post by Elven Mon Aug 31, 2009 12:30 pm

gud to hear Smile
Elven
Elven
Leader
Leader

Posts : 1167
Join date : 2009-07-25
Age : 31
Location : Coca-cola

History
Special in: Scripting
Awards:
User made maps:

https://prowb.forumotion.com

Back to top Go down

Scriptng Help Please? Empty Re: Scriptng Help Please?

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum