-
Content Count
23 -
Joined
-
Last visited
-
Medals
Community Reputation
2 NeutralAbout barn
-
Rank
Private First Class
Contact Methods
-
Website URL
ofp.barn.free.fr
Profile Information
-
Gender
Male
-
Location
France
-
Cannot get AI to move to waypoints in a tower
barn replied to beako's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I'm sorry but did you find a way to make it work ? I'm trying the same thing in my mission with an object but i can't get the addwaypoint working too.- 4 replies
-
- setwaypointhouseposition
- buildingpos
-
(and 1 more)
Tagged with:
-
Ok got it! Thanks for the assistance 🙂 For now it's working perfectly like that. I made a test with a second player, everything works fine!
-
Thanks a lot guys ! So it's the reason I can't see the sidechat while i'm testing it alone on local. Is there a way to make it work both on local and when I play with players ?
-
1 enableChannel true; Where should i put this ? in the ini.sqf or at the begining of my script ? Ok I think i find something: Work: _unit = _this select 0; [_unit," Voilà une information intéressante. Ca nous fait une belle jambe."] remoteExec ["sideChat",0]; Doesn't work: _unit = _this select 0; _unitName = name _unit; [_unitName,"Voilà une information intéressante. Ca nous fait une belle jambe."] remoteExec ["sideChat",0]; Doesn't work either with : _unit = _this select 0; [_unit," Voilà une information intéressante. Ca nous fait une belle jambe."] remoteExec ["sideChat",-2]; What exactly is the "-2" ?
-
Sorry about that. I'll try to be more careful on the futur! Thanks both of you! I tried like this: [ puitdevin, "<t color='#00FF00'>SEARCH</t>", "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_requestleadership_ca.paa", "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_requestleadership_ca.paa", "_caller distance _target < 3", "_caller distance _target < 3", {}, {}, { [_caller] execVM "randompuits.sqf"; [(_this select 0),(_this select 2)] remoteExec ["bis_fnc_holdActionRemove",[0,-2] select isDedicated,true]; }, {}, [], 2, 0, true, false ] call BIS_fnc_holdActionAdd; AND for testing I put this in my SQF: _unitName = _this select 0; [_unitName,"Voilà une information intéressante. Ca nous fait une belle jambe."] remoteExec ["sideChat",-2]; format ["%1 TEST", _unitName] remoteExec ["hint"]; And the HINT works! The name of the _caller appears. So it's apparently a sidechat code problem.. But i don't understand bescause it's the right way.. The sidechat isn't displayed at all. And no errors appears. Any idea ?
-
So! Me again with this script. In the init object field i have now a perfect working script thanks to you guys 😉 : I'm trying now to pass the parameter _this select 1 from BIS_fnc_holdActionAdd to the script "randompuits.sqf". In my SQF: But nothing happend. If i'm not mistaking, for ExecVM the param is _this select 0 and i bring it from the BIS_fnc_holdActionAdd _this select 1. Can you help me to understand this?
-
Teleport all players in trigger
barn replied to barn's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi! So i've finally had the time to make a test. HazJ, your script return an error "Error ] missing" on line :} forEach allPlayers - entities "HeadlessClient_F"; So i tried with a execVM in the ini of the player and your script in a file "test.sqf". And now the error appears when the mission start. And i start the mission at the trigger without activating the action in my menu. EDIT: ok i tried with an other player in MP and with this command: Same result: The time change, the getpos is not working... -
Teleport all players in trigger
barn replied to barn's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks HazJ ! So, i tried the mission today with this new code and with a 2 players on the mission...It's not working. No one is teleported. Is there an other way to do it if _x In allPlayers and isPlayer _x can't work in MP ? -
Teleport all players in trigger
barn replied to barn's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi! Thanks for the reply it helps a lot ! So i tried as you said and had some params to fix the distance view and change the date when activate: And compress it for the init of an object on mission: No errors so far, so i will try it in MP ! Thanks again! -
Hi everyone! Quick question: I have an addaction on an object "teleport with players nearby" I have a marker named: triggertower When i execute the action, it's suppose to teleport all the players in the marker on the object So i made a script like this: It works on local and teleport the player, but on a server, no one is teleported not even the player doing the action. Can anybody help me understand what I am doing wrong ? Thanks.
-
barn changed their profile photo
-
A thousand thanks ZaellixA ! For the time and all these very useful details! It really helps me to understandhow it works! I will work on that !
-
barn started following Counting variable in MP
-
Hi, I need help for 2 questions please. I can't find the answer by searching the forum. I have 4 objects with this action "hack" and when the 4 computers are hacked, it's supposed to start an evac script. On one of the computer ini In my hacking.sqf file i wrote this In my init.sqf i wrote this So my first question is how can i detect in my script if the action is start by computer 1 or 2 or 3 or 4 and how can i check that the 4 computers are hack. And second question: the hackingcount is working in local and start the evac script but not in MP. Is there an other way to do it for MP? Thanks a lot for your help guys.
-
BCC Central, Unit 43 is 22 at CP location
barn replied to Delta Hawk's topic in ADDONS & MODS: COMPLETE
If you are working on addon, can we have some screens? or news? for to see your work? -
BCC Central, Unit 43 is 22 at CP location
barn replied to Delta Hawk's topic in ADDONS & MODS: COMPLETE
Is there some new? I'm always waiting lol -
BCC Central, Unit 43 is 22 at CP location
barn replied to Delta Hawk's topic in ADDONS & MODS: COMPLETE
Starlight Island is on my website http://ofp.barn.free.fr I am making my ad lol