Arma 3
Paddle Mod
Feint  [developer] 25 May, 2019 @ 12:21pm
Scripted solutions
Here are some scripted solutions to situations where you want to use the Paddle mod in a different way.
< >
Showing 1-6 of 6 comments
Feint  [developer] 25 May, 2019 @ 12:21pm 
Originally posted by Cryofrost:
is there a way to make the zodiac work, if your charecter(s) does not start in it.
would love to know, since im working on a mission, and i would like them to start on land, get in the boat and paddle to their objective.

@cryofrost - Here's what you can do:
1) Get in the boat, don't touch your mouse or you could activate the engine by "steering" which is an Arma default
1a) If the engine just starts no matter what for you, see below.
2) Immediately hit the "killswitch"
3) Paddle away

If you are trying this and it's not working, like as soon as you get into the boat, the engine starts even if you don't touch your mouse, then just write a little script and call it in the init of the boat.

Here's the script you should write: (name the file killswitchScript.sqf and put it next to your mission file.
private [_boat, _killswitchID]; _boat = _this select 0; _killswitchID = _boat addEventHandler ["Engine", {vehicle player engineOn false}]; if (isEngineOn _boat) then {_boat engineOn false}; _boat setVariable ["killSwitchID",_killswitchID,true]; _boat setVariable ["killSwitch",1,true]; _boat say3D "killSwitchOn";

Then call the script either in the init code of the boat, or with a trigger via the following:
1) Name the boat something, like "zodiac01" or whatever.
2) In the init of the boat or in a trigger, set the activation text as,
null = [zodiac01] execVM "killswitchScript.sqf";

I haven't tested this, but off the top of my head I believe this should work. It might not work in the init field of the boat, so if that's the case, try the trigger and set the activation to anybody and then just make sure someone will go inside that trigger before you get into the boat. FOr testing purposes, you can set the trigger to activate with a radio command. Then, if you hear the boat make the "killswitch" sound, then you'll know the script finished.

Let me know if it doesn't work and I'll test it on my end.
Last edited by Feint; 25 May, 2019 @ 12:24pm
Cryofrost 26 May, 2019 @ 9:03am 
the problem is not as such to engage the killswitch. the problem is that, if the playable charecters does not spawn in the boat in the editor. such as if they spawned on land. they can not interact with the boat in any way. can´t get in it, or anything.

If they spawn in the boat, they can get out and back in, use all the functions of your mod, no problems. When they spawn on land on the other hand, the "best" that can be done is push it around on the surface of the water, like some gaint bathtub toy. which aint much use, when you want the players to get in the boat and paddle away.
Feint  [developer] 27 May, 2019 @ 9:36am 
Sounds like you're experiencing a conflict with another addon or mod. I just tested it and it works fine even when you don't start in the boat. Place an empty boat in the water in the editor, place a character on land or swimming, hit preview and everything works normally. I can get in the boat, the functions work fine, etc.

Are the steps you are following different?
Last edited by Feint; 27 May, 2019 @ 9:37am
Cryofrost 29 May, 2019 @ 10:30pm 
I spawn an empty blufor zodiac on water, spawn a redfor guy on land. walk/swim over to boat, no interaction.
I am only using your paddle mod and CBA (ofc), so its not mods.
the only thing it really could be if its not with how the script is set up, is it being an empty blufor boat, and him being redfor. which would be odd. or because he is a redfor guy from the GM DLC.
I just cant really see how that would break it.
Cryofrost 29 May, 2019 @ 10:46pm 
ignore my last, made it work.
I had my redfor as playable, and then I right clicked play as character, to test. and that makes the script not "fire" basically
set one of them as player, pressed play, and it worked as I wanted.

(edit: did a tiny further bit of testing, and it seems that its not that the character is player or not, thats the main thing, It seems to be tied with him being squad leader or not)

so sorry for bothering you, but thanks for the help provided.
Last edited by Cryofrost; 29 May, 2019 @ 10:50pm
Feint  [developer] 30 May, 2019 @ 8:54pm 
Thanks for the feedback. Glad you got it working.
Last edited by Feint; 30 May, 2019 @ 8:56pm
< >
Showing 1-6 of 6 comments
Per page: 1530 50