Search the Community
Showing results for tags 'plz help'.
Found 3 results
-
Calling functions when Player respawns
GhostJumperHD posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
So I have made "script" for myself that I put in the Player Init. This only executes once. But I want it to execute every time I spawn/respawn (so everytime the player starts existing). The script works great if I put it in the Init of the Player. But i wanted to make a .sqf file I could call/execute so I wont have to put everything in every Player. But the scipt is not working/compiling. The code I put in to the Init: varPlayer=this; spawnPos=getPos varPlayer; telePos=getPos varPlayer; [varPlayer, 3] call BIS_fnc_traceBullets; varPlayer addAction["<t color='#59b300'>Arsenal</t>", {["Open",true] spawn BIS_fnc_arsenal;}]; varPlayer addAction["<t color='#d9006c'>Go to Spawn</t>", {varPlayer setPos spawnPos;}]; varPlayer addAction["<t color='#bfff00'>Teleport</t>", {varPlayer setPos telePos;}]; varPlayer addAction["<t color='#4cffff'>set Teleport</t>", {telePos=getPos varPlayer;}]; varPlayer addAction["<t color='#0080ff'>Teleport with Map</t>", "teleport.sqf"]; The code I put in to the .sqf: _spawnPos=getPos _this; _telePos=getPos _this; [_this, 3] call BIS_fnc_traceBullets; _this addAction["<t color='#59b300'>Arsenal</t>", {["Open",true] spawn BIS_fnc_arsenal;}]; _this addAction["<t color='#d9006c'>Go to Spawn</t>", {_this setPos _spawnPos;}]; _this addAction["<t color='#bfff00'>Teleport</t>", {_this setPos _telePos;}]; _this addAction["<t color='#4cffff'>set Teleport</t>", {telePos=getPos _this;}]; _this addAction["<t color='#0080ff'>Teleport with Map</t>", "teleport.sqf"]; How I called it in the Init: _nul = []execVM "myFunction.sqf"; It wont run, but why? So for short. What i need help with is: finding the problem with the sqf executing the sqf every time the player starts existing Thx for reading my crap and I hope you can help me. :) -
Help. My character is telling my squad mates to shoot civilians and allies
IDKC posted a topic in ARMA 2 & OA - GENERAL
The title basically explains everything. I recently got back into playing the arma 2 campaign, and as of now i'm on manhattan, but there's one big problem i'm having; when i'm driving around in my humvee my character will randomly tell the gunner to shoot at anything close. It started out with sheep and cows, but during the mission he all of a sudden targeted a civilian and later on a cdf officer which made everyone turn on me. I really don't know what's going on or how to fix it and would appreciate any help. -
Im playing it on ios my ios version is 9.3.5 everytime i play it after the loading screen white screen and black screen again it doesnt stop any help?