Scipting question

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
maxloef
Major General
Major General
Posts: 654
Joined: Mon Jan 03, 2005 4:28 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Scipting question

Post by maxloef »

hey guys.

im working on a carrier system for swbf 2 (YES IT WORKS SO FAR!)

I got a scrpt + models from dragonum.

The scipt is set up so that both the atte prop and LAAT/c prop Move at a path.
the laatc/c prop drops the atte prop atte prop is killed by a lua script at the exact same time the AT-TE spawns.

Now i like that.

but here is my problem.

i want it so that it drops the Atte and the atte moves in the ground in a fraction of a second to fast to see. now thats not a problem.

the problem is i want it so that when the ATTE VEHICLE is killed the Landing script is restarted and the vehicle spawns again.

it would need to be something like.

If Atte = killed then Trigger = activate animation Landing 1, landing 2, + activate vehiclespawn add delay "however long it takes to drop the ATTE

now i dont know how to make a script like that i would realy apriciate any help you could provide.
Qdin
Old School Staff
Posts: 2059
Joined: Wed Feb 23, 2005 9:54 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: Scipting question

Post by Qdin »

well, first of all you post us the whole script so we could see what to change :P

glad they got it working :D
Post Reply