Jump to content
Sign in to follow this  
william1

How to substitute a default driver in a vehicle?

Recommended Posts

i would like to put a laser seal in a zodiac side west, (not the empty side ) but i don't know how, is it posible with the init field ? i would like to know , thank you and marry christmas thumbs-up.gif

Share this post


Link to post
Share on other sites

Place the boat and the seal in the editor, name them 'boat' and 'seal' for example.

Do you want him in the back seat ?

Put this line in his init-line:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">seal assignascargo boat;[seal] ordergetin true;

You can also try assignasdriver, assignascommander or assignasgunner if the boat provides these spaces.

After you start the mission the seal should go to the boat (must be at beach) and get in. If you want to teleport him into the boat just use this line in his init-line:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">seal moveincargo boat

(same for moveindriver, ..commander, ..gunner of course)

Merry Xmas every1  tounge2.gif

Share this post


Link to post
Share on other sites

thanks, but what i want is the seal to be the driver , remove the default bis one and put my shining seal one , assignasdriver doesn't work huh.gif

Share this post


Link to post
Share on other sites

Or give in Init of boat

deletevehicle driver this

=====

This topic should go to Editing / Scripting

Share this post


Link to post
Share on other sites

Why do people always have to do it the hard way?

Share this post


Link to post
Share on other sites

No need to name the Seal.

Name the Zodiac/empty boat "f_boat"

then, in the Seal's init field, write "this MoveInDriver f_boat" (without the quotation marks).

This should place him as driver of the Zodiac. wink_o.gif

Share this post


Link to post
Share on other sites

i can't use the empty side zodiac beacause for some unknown reason the ai in a zodiac side empty doesn't move to where i mark in the map, i put a waypoint for it but it doesn't move , don't know why. i am talking about the SFP zodiac . i wil try deletevehicle thank you biggrin_o.gif

Share this post


Link to post
Share on other sites
No need to name the Seal.

Name the Zodiac/empty boat "f_boat"

then, in the Seal's init field, write "this MoveInDriver f_boat" (without the quotation marks).

This should place him as driver of the Zodiac. wink_o.gif

no no , it doesnt work , i have tried yet huh.gif it must be a side west boat

Share this post


Link to post
Share on other sites

just lol

the empty boat wont move because its err empty whistle.gif

the boat becomes west when you put the west driver in..

do what they say in the above examples to put your seal unit in as driver and give HIM the waypoints and not the boat he will drive the boat along the waypoints you give him

Share this post


Link to post
Share on other sites
just lol

the empty boat wont move because its err empty whistle.gif

the boat becomes west when you put the west driver in..

do what they say in the above examples to put your seal unit in as driver and give HIM the waypoints and not the boat he will drive the boat along the waypoints you give him

that is exactly what i did, maybe a expressed myself wrong huh.gif the group aboard the empty zodiac doesn't move although you give them a waypoint , also you can't give a waypoint to an empty vehicle , it is imposible .

i think it is a zodiac bug maybe icon_rolleyes.gif

Share this post


Link to post
Share on other sites

Hi,

I have just the script for you, it will allow you to replace the crew of any manned vehicle. So you can add all the waypoints you want, and change the crew to your hearts content.

CrewChange.zip

Just put this in the init line of your vehicle:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">[<Vehicle>,<Driver Crew Type>] Exec "UNNCrewChange.sqs"

So to put a Res soldier in as a pilot of an West boat you would put this in the boats init field:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">[This,"SoldierGB"] Exec "UNNCrewChange.sqs"

If you want to find the Type for a particular unit. Place the guy in the editor, than add this to his init:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Hint TypeOf This

Share this post


Link to post
Share on other sites
Hi,

I have just the script for you, it will allow you to replace the crew of any manned vehicle. So you can add all the waypoints you want, and change the crew to your hearts content.

CrewChange.zip

Just put this in the init line of your vehicle:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">[<Vehicle>,<Driver Crew Type>] Exec "UNNCrewChange.sqs"

So to put a Res soldier in as a pilot of an West boat you would put this in the boats init field:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">[This,"SoldierGB"] Exec "UNNCrewChange.sqs"

If you want to find the Type for a particular unit. Place the guy in the editor, than add this to his init:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Hint TypeOf This

wow !! that is perfect wow_o.gif thank you very much ! it is very kind of you , i will prove it as soon as posible notworthy.gif

marry Christmas!! biggrin_o.gif

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  

×