AutoFan_0815 1 Posted December 24, 2020 Hello dear community, I saw some topic's about this subject, but nothing could help me. So... I want / am editing a tank TDM. I found a working script that allowes that 1 man operates a tank I use the script from the website: http://killzonekid.com/arma-scripting-tutorials-one-man-tank-operation/ 1. Yesterday I tested it with my friend. The TDM hat 2 sides (BLUFOR and OPFOR). The problem is after the a person gets in the tank, the second person gets teleported to person No. 1 and spectates him. And you can't exit the spectator mode. 2. The tank gets destroyed and the code in the INIT goes away. I assume, because it's a new tank, but how can I keep the code after a new tank respawnes... I though of something like a trigger, but I'm new to the editing 🙂 The other codes that I found here on the forum don't work for me. But the code which I found on the website works apparently only in SP. Can someone help me? ^^ Share this post Link to post Share on other sites
AutoFan_0815 1 Posted December 25, 2020 On 12/24/2020 at 2:22 PM, pierremgi said: Really? I saw tihs post, but it ain't working 😕 1 Share this post Link to post Share on other sites
pierremgi 4906 Posted December 25, 2020 2 hours ago, AutoFan_0815 said: I saw tihs post, but it ain't working 😕 Tested on SP/MP. So, the question is: what do you script? Share this post Link to post Share on other sites
AutoFan_0815 1 Posted December 26, 2020 19 hours ago, pierremgi said: Tested on SP/MP. So, the question is: what do you script? Maybe because I don't added: " Then call this function with desired parameters: [1,1] call MGI_1ManTank; // 1 = enable tank icon, 1 = enable radar " When it's the case that I must add this qoute, where do I do it? ^^ Share this post Link to post Share on other sites
pierremgi 4906 Posted December 26, 2020 [1,1] call MGI_1ManTank; just after the code for MGI_1ManTank function (the code above). in init.sqf or initPlayer.sqf or even a trigger if the condition is set to: true But if you don't need a pseudo radar, I suggest this one. And if you don't want to worry about any code, just use the module. Share this post Link to post Share on other sites
AutoFan_0815 1 Posted December 26, 2020 @pierremgi now it's working ^^ Thank you very much! Happy holidays 🙂 1 Share this post Link to post Share on other sites