
kev3344
Joined: Aug 8, 2008
IMAAA FIRING MAAA LAZAAA!!!!
|
Posted: Aug 31, 2010 04:27 PM
Msg. 1 of 6
This is my script to spawn more than 6 vehicles
(script startup spawn8vehicle (begin (object_create g1) (object_create nt1) (object_create bf1) (object_create d1) (object_create k1) (object_create fs1) (object_create ghost1) (object_create gp1) (object_create bb1) (object_create dc1) ) )
when I test it alone it works fine but online, when you enter the vehicle, it creates a clone. The clone can't be entered or move.
What is wrong with the script?
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Aug 31, 2010 04:58 PM
Msg. 2 of 6
What vehicle is it? The script looks like it'll work, except you want to remove the (begin clause, because it's unnecessary, and adding it as a habit will cause problems for you in the future.
|
|
|

kev3344
Joined: Aug 8, 2008
IMAAA FIRING MAAA LAZAAA!!!!
|
Posted: Sep 1, 2010 03:09 PM
Msg. 3 of 6
these are all ghost-like vehicles(alien scout) should I use object_create_anew instead of object_create? Edited by kev3344 on Sep 2, 2010 at 03:29 PM
|
|
|

SlappyThePirate
Joined: Aug 24, 2009
You are irritating, I'll release nothing
|
Posted: Sep 1, 2010 09:18 PM
Msg. 4 of 6
Quote: scoot lol Also, do these vehicle destroy and stuff? I've had cloning issues like that sometimes.
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Sep 2, 2010 02:23 AM
Msg. 5 of 6
Create anew might work better. If they're clones, garbage_collect_now will work, provided everyone's looking away from the vehicles.
|
|
|

kev3344
Joined: Aug 8, 2008
IMAAA FIRING MAAA LAZAAA!!!!
|
Posted: Sep 2, 2010 03:30 PM
Msg. 6 of 6
ok thank you
|
|
|