Jump to content
Sign in to follow this  
der.hannes

heli transport service with 1.03?

Recommended Posts

hi

in my mission there is a heli transport service using SOM wich i can call via communication menu, i used the following script:

waitUntil {!isnil {player getVariable "mainScope"}};

SOM_mainScope = player getVariable "mainScope";

[["transport"], player] call BIS_SOM_addSupportRequestFunc;

SOM setVariable ["TSS_vehicle_custom", h1];

SOM setVariable ["TSS_allowed", ["pickup", "unload"]];

SOM setVariable ["TSS_plannedLZ", [0,0,0]];

h1 setVariable ["supPool", [bIS_cooper], TRUE];

h1 setVariable ["supPhase", 0, TRUE];

h1 setVariable ["onMission", objNull, TRUE];

h1 setVariable ["stuck", FALSE, TRUE];

after patch 1.03 a hint tells me that there is no support aviable?

has bi changed SOM support scripts?

how can i make transport service now?

thanks

Share this post


Link to post
Share on other sites

Daaamnnn I have this same script in one of my missions. Hope this gets answered otherwise the whole thing is void :(

Share this post


Link to post
Share on other sites

Hmmm. I use:

 waitUntil {!isnil {player getVariable "mainScope"}};
SOM_mainScope = player getVariable "mainScope";


som1 setVariable ["TSS_vehicle_custom", h1];
som1 setVariable ["TSS_allowed", ["pickup", "unload"]];
som1 setVariable ["TSS_plannedLZ", [0,0,0]];

and a trigger in game with:

Cond:

som1 getVariable "initDone"

OnAct:

[["transport"], player] call BIS_SOM_addSupportRequestFunc;

With the SOM Module(named som1) sync'd to the player/group leader and this in the init box:

this setVariable ["settings", [[], true, nil, nil, false]];

Everything works the same as in v1.02b.

Edited by Manzilla

Share this post


Link to post
Share on other sites
Hmmm. I use:

 waitUntil {!isnil {player getVariable "mainScope"}};
SOM_mainScope = player getVariable "mainScope";


som1 setVariable ["TSS_vehicle_custom", h1];
som1 setVariable ["TSS_allowed", ["pickup", "unload"]];
som1 setVariable ["TSS_plannedLZ", [0,0,0]];

where do you put this code?????

Share this post


Link to post
Share on other sites

The init.sqf Meatball.

I noticed that the code stopped working in 1.03 as well, my demo mission didn't work. Odd.

Share this post


Link to post
Share on other sites

I dont know what I am doing wrong but I cannot get it to work.

I put into the inti.sqf

waitUntil {!isnil {player getVariable "mainScope"}};

SOM_mainScope = player getVariable "mainScope";

som1 setVariable ["TSS_vehicle_custom", h1];

som1 setVariable ["TSS_allowed", ["pickup", "unload"]];

som1 setVariable ["TSS_plannedLZ", [0,0,0]];

then I placed a trigger:

Axis a - 0

Axis b - 0

Angle - 0

Ellipse

Activation - Radio Bravo

Present

Min - 1

Mid - 1

Max - 1

Type - Switch

Name -

Text - *2 - Request Transport

Condition - som1 getVariable "initDone"

On Activation - [["transport"], player] call BIS_SOM_addSupportRequestFunc;

De Activation -

and a SOM module named som1 with this in its init field and synchronized it to my player

this setVariable ["settings", [[], true, nil, nil, false]];

Nothing happens!?!

1. am I suppose to place a helo named "h1"?

2. what have I left out?

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  

×