Search the Community
Showing results for tags 'ai players'.
Found 2 results
cool little script to make ai units join you in-game: Place your player on the map Place as many AI units you desire Name each the AI unit a specific Variable Name. Example: AIsoldier_1, AIsoldier_2, AIsoldier_3, etc. The Variable Name should be unique and placed in each ai attribute (under Variable Name) Place a no space trigger under "Trigger: Expression" Condition: player distance AIsoldier_1 <2 On Activation: [AIsoldier_1] join player; You will have to walk up to the ai unit (within 2 meters according to this script) to have it join your squad. Picture
black_hawk_mw2_87 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTINGHi, everyone from the community! I have an old MP co-op mission that I am willing to remake or upgrade, using more slots, more mods, more options and extra content. This is the mission I am talking about. I, as a host, can see 4 different messages while in game. 2 of them are Text1.sqm and Text2.sqm, which are shown after the player (in this case me) gets close enough to an object as a condition. The other 2 are informations about 2 specific keys for a menu and CAS system, provided by AliVe. 1. I want to know if the other players who join the game are going to see these texts as well, as I guess, am going to be the only one having the files in my mission's folder, and when people join, they are only going to download the mission.sqf file without these additional files. Correct me if I am wrong. 2. Are there any other ways to make all players see these messages when joining the game session, using a specific and concrete condition checked by a trigger OR already existing in some of the mission's files, for example in init.sqf, so all the players would have this option as well? 3. If this way from p. 2 is possible, what code should I use? Is this something like a check (let's say: "waitUntil..." and then the result appears)? Right now I am using an object for the player as a condition and I receive the messages, but I am not sure if all other players are going to see them, too, so what would make this possible for all playable units? Thank you very much in advance! Cheers! 🙂