Jump to content

Search the Community

Showing results for tags 'scripts'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • BOHEMIA INTERACTIVE
    • BOHEMIA INTERACTIVE - NEWS
    • BOHEMIA INTERACTIVE - JOBS
    • BOHEMIA INTERACTIVE - GENERAL
  • FEATURED GAMES
    • Vigor
    • DAYZ
    • ARMA 3
    • ARMA 2
    • YLANDS
  • MOBILE GAMES
    • ARMA MOBILE OPS
    • MINIDAYZ
    • ARMA TACTICS
    • ARMA 2 FIRING RANGE
  • BI MILITARY GAMES FORUMS
  • BOHEMIA INCUBATOR
    • PROJECT LUCIE
  • OTHER BOHEMIA GAMES
    • ARGO
    • TAKE ON MARS
    • TAKE ON HELICOPTERS
    • CARRIER COMMAND: GAEA MISSION
    • ARMA: ARMED ASSAULT / COMBAT OPERATIONS
    • ARMA: COLD WAR ASSAULT / OPERATION FLASHPOINT
    • IRON FRONT: LIBERATION 1944
    • BACK CATALOGUE
  • OFFTOPIC
    • OFFTOPIC
  • Die Hard OFP Lovers' Club's Topics
  • ArmA Toolmakers's Releases
  • ArmA Toolmakers's General
  • Japan in Arma's Topics
  • Arma 3 Photography Club's Discussions
  • The Order Of the Wolfs- Unit's Topics
  • 4th Infantry Brigade's Recruitment
  • 11th Marine Expeditionary Unit OFFICIAL | 11th MEU(SOC)'s 11th MEU(SOC) Recruitment Status - OPEN
  • Legion latina semper fi's New Server Legion latina next wick
  • Legion latina semper fi's https://www.facebook.com/groups/legionlatinasemperfidelis/
  • Legion latina semper fi's Server VPN LEGION LATINA SEMPER FI
  • Team Nederland's Welkom bij ons club
  • Team Nederland's Facebook
  • [H.S.O.] Hellenic Special Operations's Infos
  • BI Forum Ravage Club's Forum Topics
  • Exilemod (Unofficial)'s General Discussion
  • Exilemod (Unofficial)'s Scripts
  • Exilemod (Unofficial)'s Addons
  • Exilemod (Unofficial)'s Problems & Bugs
  • Exilemod (Unofficial)'s Exilemod Tweaks
  • Exilemod (Unofficial)'s Promotion
  • Exilemod (Unofficial)'s Maps - Mission Files
  • TKO's Weferlingen
  • TKO's Virolahti
  • TKO's Livonia
  • TKO's Rules
  • TKO's Changelog
  • TKO's Help
  • TKO's What we Need
  • MSOF A3 Wasteland's Server Game Play Features
  • MSOF A3 Wasteland's Problems & Bugs
  • MSOF A3 Wasteland's Maps in Rotation
  • SOS GAMING's Server
  • SOS GAMING's News on Server
  • SOS GAMING's Regeln / Rules
  • SOS GAMING's Ghost-Town-Team
  • SOS GAMING's Steuerung / Keys
  • SOS GAMING's Div. Infos
  • SOS GAMING's Small Talk
  • NAMC's Topics
  • NTC's New Members
  • NTC's Enlisted Members
  • The STATE's Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Yahoo


Jabber (xmpp)


Skype


Biography


Twitter


Google+


Youtube


Vimeo


Xfire


Steam url id


Raptr


MySpace


Linkedin


Tumblr


Flickr


XBOX Live


PlayStation PSN


Origin


PlayFire


SoundCloud


Pinterest


Reddit


Twitch.Tv


Ustream.Tv


Duxter


Instagram


Location


Interests


Interests


Occupation

Found 80 results

  1. Hi, I would like to make the tank mentioned above more durable against rounds fired from the other tanks, for example the T100. Is there any way to do it? Are there any scripts reducing the damage of shells fired from T100 or other tanks? Does anybody know some scripts increasing MBT 52 health/armour?
  2. Hi all: I am getting trouble in find out how to lower the front ramp of the Type 072 LST from CUP Vehicles DEV. Same to all CUP Static ship , there has nothing in the AnimateSource and UserAction. However, during check the config viewers, I ‘ve find that the ship has into few parts like : CUP_Type072_Main (come first) CUP_Type072_Front, CUP_Type073_Rear, ..etc Then , I find both animateSources and UserActions in CUP_Type072_Front. Which called : ramp_4_source ramp_front_source then I tried scripts: this animateSource [“ramp_4_source”,1]; this animateSource [“ramp_front_source”,1]; However , they are not work 😞 And the same thing to scripts from userActions . The problem might be the ship placed is a whole object but the scripts are from parts and it cause the scripts cannot work.... Anyone could help me figure it out...I really need it in my mission (I know I can directly down the ramp from options in attributes, but I need the lowing process ...) All ideas are welcome, thanks in advance.
  3. Hello, @super-truite and I have made a little piece of script to allows missions maker to make a better use of AIs and vehicles on missions. We are guessing that a similar system already exists but we wanted to have a custom system for some of our projects and thought it would be nice to share it. This compilation of script allows a mission make to cache units suchs as vehicles and soldiers with their respective properties (waypoints, stance, direction, position, health, ...). This allows for greater performance and (if chosen) persistence. Features: Grid caching GCS allows the mission maker to automatically cache into the memory AIs andvehicles. Waypoints assigned to a group or a unit are also cached and are reapplied when the unit or group is set up. The mission creator, if necessary, can also exclude a unit or a vehicle from the cache so that the system does not take it into account. Persistence system (optionnal) In addition to all the caching made, the mission maker can also integrate a data persistence system via MySQL so that, even with a restart of the mission or the machine, the units and vehicles will still be saved. How it works: GCS will create a virtual grid on the map based on three parameters available in GCS_configServer.sqf : GCS_VAR_SIZE_SQUARE_GRID - Represents the total size of each cell on the grid GCS_VAR_SIZE_ACTIVATION_SQUARE_GRID - Represents the trigger distance where AIs and vehicles will be created in the cell GCS_VAR_SIZE_UNSPAWN_SQUARES - Represents the trigger distance where AIs and vehicles will be cached and removed in the cell Each cell is defined by these three variables, as described, GCS_VAR_SIZE_UNSPAWN_SQUARES will trigger the caching and removal of units for the given cell, GCS_VAR_SIZE_ACTIVATION_SQUARE_GRID will activate a cell, retrieve it's cached content for the memory or database and will spawn the units. GCS_VAR_SIZE_SQUARE_GRID Defines the cell size. You can disable the caching system on a unit or vehicle by adding the variable "UseGrid" to false on the unit/vehicle init: this setVariable ["UseGrid", False] In this way, even if no player is near the unit or vehicle, it will never be cached and removed. The following gif shows a simple example with a single grid cell being cached, unloaded (player leaving the cell) and reloaded with cached data once the player re-enter the cell: https://i.imgur.com/ai7PeLh.mp4 and the picture below demonstrates a more complete case: Video example: https://streamable.com/jrh43r (4601 units on Stratis) By default, the persistence system is disabled, you will need to install a MySQL database, have the InterceptDB mod installed aswell with CBA. A full tutorial is available on the readme on Github (https://github.com/Super-truite/arma3_GCS.vr/blob/master/README.md) Download: Get the latest release here: https://github.com/Super-truite/arma3_GCS.vr
  4. COMBAT REALISM SCRIPTS DESCRIPTION: Combat Realism Scripts is a totally addon-free set of light weight scripts for Arma 3 which enhance the gameplay in your mission. Features are SP, MP, and Dedicated compatible. Script will deactivate itself if it detects ACE running. VIDEO: SCREENSHOTS: N/A FEATURES: Features listed in italic font are not yet developed Backblast - Knocks down & severely injures those in your backblast radius Cookoff Deafness Disposable Launchers - Single-use disposable launchers Flashbang - RGN Grenade acts as a flashbang; also blinds AI Flashlight - Simply plays a sound when you toggle your flashlight/laser Fragmentation Grenade - RGO Grenades spew shrapnel upon detonation Hand Flares Holster Weapon - You can holster your sidearm/sling rifle on your back Interact Medical System STFU CARL - Mutes your character's voice Shoulder Tap Surrender - You can surrender. You are released when a friendly is <3m away Tactical Hand Gestures - Perform tactical hand gestures Tactical Point - Player points at what he's Tactical Pinging Tear Gas Weapons Animations - Appropriate animations when mounting/dismounting attachments Weapon Jamming - Rare chance for weapon to jam while firing Weapon Safety - Switch weapon to safe, to help prevent negligent discharges Wire Cutters More features may get added to the list. All features can be easily configured / disabled by the mission designer. TO DO LIST: Improve/rewrite current features (They're mostly proof of concept and need to be expanded upon) Add the features listed in italic font KNOWN BUGS: Post-process effects do not reset after being backblasted Weapon attachment animations play when moving attachment into/out of container CREDITS: Phronk: Script Creator Bohemia Interactive: Sounds, models, textures, animations TESTERS: Chaser (ATCAG) KingCarter (ATCAG) Phoenix (ATCAG) PRYMSUSPEC (22.NOV.2017) Version: 0.1 Size: 22 KB DOWNLOAD LINK - (Google Drive) DOWNLOAD LINK - (Steam Workshop - Unavailable) DOWNLOAD LINK - (Armaholic) CHANGE-LOG: (22.NOV.2017) - v0.1 Initial release
  5. so me and my friends set up a story line and everything is almost perfectly set but I've run into a slight problem.... we made a unit yada yada, i played online to see if our patch was showing and it was, everything looks perfect shows up on the shoulder and on planes cars ect. but when i run the mission i created it seems the patch doesn't show up at all. it still shows the unit tag above my player name so if someone knows a fix to this it would be much appreciated. (running the mission in multiplayer on a lan based server)
  6. Hello everyone! Sorry if I post a duplicated topic, but I still need a help. I have a problem that I couldn't find a solution to. On my dedicated server I need to handle players when they connect to a lobby, but unfortunately the onPlayerConnected event doesn't satisfy my needs. The problem is the onPlayerConnected and its stackable version only appear when a mission is started and it's doesn't work when there is the lobby or a briefing time. I would like you guys to give me some possible solutions, I just need to call a script when a player connects to the server in any time. Thanks in advance!
  7. Hello forum, Recently I made a mission that involves a linear campaign with 6 different timelines. In it you switch between ai characters after a certain trigger is activated. (Screenshots from Tier 1 Stories: Afghanistan) Link to Mission The problem i've ran into is that switching characters works in singleplayer by utilizing a trigger with "selectPlayer" in its init. But when on multiplayer/coop it no longer works. Does anyone know a workaround or have any ideas? The goal is to make this scenario coop. Thank you for your time.
  8. Script Example (which I use in my mission): [ Truck, "<t color='#58D68D'>Enganchar UH60</t>", "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_loaddevice_ca.paa", "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_loaddevice_ca.paa", "(_this distance _target < 3) && (Truck_Bar distance Heli_1 < 10)", "(_Caller distance _target < 3) && (Truck_Bar distance Heli_1 < 10)", {}, {}, { null = ["Scripts\Interacciones\Remolcador\Soltar_Heli_1.sqf","BIS_fnc_execVM",false,false] spawn BIS_fnc_MP; [Truck,_actionId] call BIS_fnc_holdActionRemove; }, {}, [], 5, 6, true, false ] remoteExec ["BIS_fnc_holdActionAdd", 0, Truck]; ____________________________________________________________________________________________________________________ When I put this Script in my Init.sqf file, one appears every time a player joins my dedicated server. Is there a way to fix that? the problem is where do I put my script? or is it a typical Arma 3 problem?
  9. I've got this line of script on several waypoints- [_soldier1, _soldier7] allowGetIn false; _veh setUnloadInCombat [false, false]; and it works until they activate a hold waypoint, even thought that waypoint has the script line on it, the squad leader still orders everyone to get in and the heli lands to pick them up. I cant figure it out, the pilot isnt even in the squad, but the gunner is and the pilot responds to the getin orders by landing. The hold waypoint is linked to radio trigger, and the one after is a load, when I do want them to get in, synced to the pilots own load waypoint. But all further waypoints get screwed because the squad has already loaded. I read that "unassign vehicle" can prevent them boarding prematurely, but I have not figured out how to write this command properly, or where to put it. could someone write an unassignvehicle script for me? helicopters' variable name is "wendy". any help greatly appreciated
  10. This is a complete script tool suite Bohemia Interactive's game engine used in ARMA II and ARMA 3. Poseidon Tools supports all text files (Scripts & configs) used by the Real Virtuality. Initially, this project was named "BI PTE" (BI Plain Text Editor) and was renamed Poseidon Tools when it was publicly released, in august 2013. So, the name, Poseidon Tools, is a tribute to the very first version of the Real Virtuality engine, "Poseidon", which is the base of all the Arma series. Latest announcement: Version 0.994.211 Features Project management Instant Project Switch Distraction Free Mode and full screen Split Editing (Can display up to four file on the same screen) Auto Completion (based on commands and existing text in the file) Current and parent brackets highlight Persistent sessions Snippets (eg: file header, control structures, game functions etc…) Syntax highlighter (for SQF (from ofp to arma 3), SQM, HPP, CPP, EXT…) Full support of SQF & SQS, XML, Cpp, CFG, RPT Can open RPT from the menu (Arma 3, Arma 3 diagnostic, Arma 2…) Can open SQM, BIEDI with Arma 3 Magic key F8 File diff Support of Mikero Tools Support of Arma 3 Tools Refresh the opened files everytime you get back to it Macro creation Documentation link and so on… Notes Some features require Arma 3 Tools installed; Every new release require a full clean install; Some other features require Mikero Tools installed; This is not an official tool, use at your own risks; Documentation is here: http://tom4897.info/projects/poseidon-tools/ I urge you to read the documentation and especially the shortcuts list Download Poseidon Tools @ tom4897.info - 0.994.211 Poseidon Tools @ armaholic.com - 0.994.209 Thanks Sublime Text devs, JonBons, Yourry, RawLine, Arma3.fr, Bohemia Interactive, The community, Arma2-wiki.fr, Armaholic, Arto, Tigerforce, Colin T.A. Gray, Will Bond, Lord, Noubernou, Mikero, Private Nelson, Sho
  11. Hello everyone. Hope you are all doing fine in these hard times. Just finished the first draft of a small collection of scripts that allow someone to create a PvE, PvP or PvEvP sector control mission and wanted to share here in case someone may benefit from it. I am not sure this is the right place to post, but I thought that since this is not a mission (no map is included here, just a collection of script and accompanying files) the missions channels wouldn't be the right place. And as this is just a collection of scripts I thought that this place would be more appropriate. It is quite straight forward and easy to set up the mission and many aspects are controlled with parameters. It is SP and MP compatible, but for SP gameplay one must set the parameter value in the description.ext file. There is (unfinished but adequate) documentation included and some of the functions implemented, although (unfortunately) pretty much undocumented as of yet, they are quite short and easy to follow (in my opinion) and one could easily tweak them to use them outside of the context I use them here. The collection is held on GitLab and you can find it here. If you would like to avoid clicking on links but still interested in laying an eye on the scripts feel free to ask for a Google Drive link or I could send them to you in any way you would prefer. Take care, stay safe and... ArmA a lot!
  12. Hello, I have been trying to get this script working for the past day. I got a vehicle to only move to the next way point when a trigger has been activated. In this case when BLUFOR is inside a trigger zone for at least two minutes. However, I want them to land wait for all players to get into the vehicle until moving to the next way point. However, doing it the same way I did the original movement it only lands then take right back off regardless of the passengers being inside. In this case the helicopter is called "heli1" and the player(s) are called "player1" "player2" etc. I have also tried using the get out and get in command however, they get out but not back in. Here is the code player1 in heli1 && player2 in heli1; Is there a way for the game to get a list of all active players instead of limiting how many I can have. And how can I fix the problem of the helicopter either leaving us or not moving at all. Thanks in advance. Trey G
  13. So, i'm having this issue where my mission won't load, it will load up the slot selection screen but after it is loaded, it will show the "splash" screen that shows the onLoadImage and just before the map, it will throw us back to the Slot selection screen. This mission is not much more complex than what me and a friend of mine usually do. The mission is a little bit complex but not efficiently scripted, so i thought "scripts are the issue here" but no, turns out scripts work fine, tested the mission on my computer running as a server and it worked fine, no error whatsoever, me and my friend tried playing it with no issues, but when we tried it on a small dedicated server we rented, it didn't work, so i took a look at the .rpt files, well i found that there's something i've never faced before: 20:54:59 Client: Nonnetwork object d8640140. 20:54:59 Client: Nonnetwork object d865e0c0. 20:54:59 Client: Nonnetwork object d8684180. 20:54:59 Client: Nonnetwork object d86ba140. It keeps repeating after each reset and from an extensive search on the forums, i've found absolutely nothing that helps me so far: Removed Zeus and Game Master added the description.ext Have no headless client on the server nor do i call it at any given time Does anyone has an idea as to why this happens? The mods i used: CBA_A3 Ace CUP Terrains - Core Island Panthera RHS USAF RHS AFRF RHS GREF Ace Compat for each one Last month we played a whole campaign on these mods with no issue. Link to the RPT Thanks to anyone who might help.
  14. Hey guys, at the moment i am working on an idea to implement a working weapon smithing solution which i was looking forward for a long time. Recently the function "addWeaponWithAttachmentsCargo" was implemented and finally i saw my chance to create the script. Above you can see the existing iteration for this workbench. At the moment you can open the dialog and attach all the compatible items to the players weapon. In the following link you can see an existing multiplayer mission, where the system was implemented: https://github.com/LukasMarschall/Arma3BattleRoyale/tree/master/IslandThunder.Malden/dialogues Looking forward to see your opinion and feedback. Cheers, Luke
  15. Hello, I've been thinking about a possible MOD for Arma 3 that could really produce some butt-clenching, heart pounding, gameplay moments. It's heavily inspired on the Battle Royale mod which is dying out sadly, and there's some MMO elements in them too. Anyways, I've made a small presentation that explains the idea better: https://docs.google.com/presentation/d/1LYfntb3MyRWQUp3Eyju9cyEopTPzSF_dRzpS99TxcvE/edit?usp=sharing I'm no developer, my goal with this post is to just 'test the water' and see if there is some interest in a game mod like this. Secondly if someone can enlighten me on how much work creating a minimal viable prototype of this MOD would take, or point me in the general direction of someone that can help me get this going, that would also be greatly appreciated. Thank you! best regards
  16. Hi, i got the following drawIcon3D script that shows the players names above their heads: onEachFrame { _units = nearestObjects[(visiblePosition player),["Man"], 17]; _units = _units; { _color = switch (playerSide) do { case (EAST): {[1,0,0,1]}; case (WEST): {[0,0,1,1]}; case (independent): {[0,1,0,1]}; case default {[2.55,0.55,0,10]}; }; if (side _x isEqualto playerSide) then { if (!(lineIntersects [getPos player, getPos _x, player, _x]) && alive _x) then { drawIcon3D [ "", _color, [visiblePosition _x select 0,visiblePosition _x select 1, (visiblePosition _x select 2) +((_x ModelToWorld (_x selectionPosition "player")) select 2)+ 1.83], 45, -2, -1, name _x, 2, 0.035, "Puristamedium", "center" ]; }; }; }forEach _units; }; the problem: this shows also the names thought objects where i cant see the player normaly... how can i fix this? also it would be nice if my enime is in a car i would see his name above the car (not works now). Thx for your answer's 😄
  17. Description: This is a GUI that allows the person who executed the script to add/assign or remove/unassign Zeus to any specified player(s). Downloads & More Information: GitHub: Pastebin: Video: Steam Guide: Curator Creator Version 1.0: * New version is coming out soon. The script was broken so I am going to re-make it myself. *
  18. Hello! Now, I am kind of new to the "running arma 3 server" scene but have ran certain servers before. The Arma 3 Life scene for awhile was stagnant and there was too much of a variety to choose from and the variety honestly had little to no development that actually improved the experience in game. I have been a member of life servers for over 4 years now, being on many different communities and experiencing a lot of good, bad, and frustrating times. This is why I am trying to bring back Arma 3 life to it's former glory, in 2019 it's hard to think of a good FREE server to play on besides Altis Life and maybe City Life. But I don't want Altis, or Lakeside as the map. I want a fresh brand new map built from the ground up. A place where people can experience for the first time and explore many different locations. I want fresh mods customized to bring the best roleplay experience to the community. Custom building, possibly, and custom scripts. Now, a few things are is that I NEED HELP. Specifically with development, scripting, and hosting the server. If anyone is willing to help me with these things please shoot me an email -- jaylenryan@icloud.com A few specific questions that I have are.... 1. What host should I use to run the server if my connection isn't the best (because college internet). 2. How do I script mods into my server, add mods, and set up TFR so we can have a better VOIP in game. 3. Website creation has never been my strong suit, so how should I go about that? 4. How do I create a custom map, from the ground up? Thank you again for taking the time to read this, and again, if you'd like to contact me either reply here or shoot me an email -- jaylenryan@icloud.com Have a great day!
  19. Greetings everyone, could you help me pls with that build. I'm a rookie in Arma 3 Editing. I'm just want to do dynamic AI take off from STRATIS AirBase and after take off they moved to Trigger who delete them, and repeat this every time in Scenario. Could you steer me in the right way to build this. Thanks. What i did. First: MultiPlayer ModuleRespawnVehicle_F - connect to My Vehicle names FBH - AI unit get in - MovePoint to Trigger {deleteVehicleCrew _x} forEach crew; deleteVehicle FBH;}, and they don't respawn, bacause Trigger delete them forever. And i'cant find any replacement to this function for my build. And second : i dont know how to respawn units. Please treat with understanding.
  20. Some video capture using Firewill's F-14D and Mikey74's CarCom Script (2nd video has bug shown on Tomcat "gear down in flight" https://www.youtube.com/watch?v=8kMdmiIygEU https://www.youtube.com/watch?v=EfqLU5B5dFI Has anyone seen this or know of any fixes? UPDATED: By ACTUALLY SEARCHING for the answer, I found (stumbled across) a snippet of aircraft actions in response to a post in 2011, by the great kylania. on activation trigger anyUnit action ["LandGearUp", plane]; at end of deck. Gear up. So, in brief it's fixed.... I think.I mean it works all of the time. Thank you! Mods please lock post as solved
  21. Hello Everyone, I'm new to the arma modding community so bare with me. Using the Eden editor and scripts using ASL i was successful in creating a HitTracker, it works perfectly withing the mission that i created on and if i copy and paste the scripts it work on any mission i create or download. But continuously coping and paste is a hassle so i was trying to make the scripts into a mod. This is where i ran into a problem, i learned how to make the .pbo and the Kay, but the config.cpp i doubt is correct(Because i only initialize one script). My question to the community is can you initialize more the one script in a mod, and if you can how do i do so? (My code is on my work computer so i cant post it, but its wrong anyway.) If anyone can post a template of how to initialize the scripts i think i can figure it out from there.
  22. Hello Everyone, I'm new to the arma modding community so bare with me. Using the Eden editor and scripts using ASL i was successful in creating a HitTracker, it works perfectly withing the mission that i created on and if i copy and paste the scripts it work on any mission i create or download. But continuously coping and paste is a hassle so i was trying to make the scripts into a mod. This is where i ran into a problem, i learned how to make the .pbo and the Kay, but the config.cpp i doubt is correct(Because i only initialize one script). My question to the community is can you initialize more the one script in a mod, and if you can how do i do so? (My code is on my work computer so i cant post it, but its wrong anyway.) If anyone can post a template of how to initialize the scripts i think i can figure it out from there.
  23. Hello, someone knows how a trigger can be activated just when a sound ends? For example when a trigger starts a sound, i want when it ends, another trigger should be activated. I would be so grateful, thanks
  24. Hello! I have been trying to make a wheelchair (Yes a wheelchair!) go faster (It currently goes about 12-14 km/h) I would like it to go 200 km/h. I can´t figure it out my self, I have tested to use "limitSpeed" and "setVelocity" but the problem is that I am not really so good at scripting so I would like to get some help to get it the script to work. Thanks!
  25. Hi there, It's quite annoying when someone else has used the gunner seat of a Heli, offsetting its position, and you later decide to Manual Fire from the pilot's seat and have a misaligned gun. I've been putting a lot of effort into setting up a script that can deal with this via a User Action, however I'm getting a few errors. A few of them are about missing " ) ", " ] ", " ; " (though I have done my best to never leave these out, including using a bracket checker plugin), or invalid variables (which is probably because it's checking a variable before it's set). To summarise, when a player pilot is in an armed Heli, they shall get a user action to centre the turret. This will have either the current AI or a temporary, invisible AI in the gunner seat target a spawned marker in front of the vehicle (if a player is in the seat it won't affect them). I currently have five six files in relation to this. EDIT: Below has been updated to the latest working script - If you get errors make sure there's no invisible characters using Word It requires CBA mission.Malden\init.sqf mission.Malden\description.ext mission.Malden\functions\functions.hpp mission.Malden\functions\fn_centreTurret.hpp mission.Malden\functions\fn_allowCentreTurret.sqf mission.Malden\functions\fn_turretDir.sqf Currently, unit spawning, marker generation and AI watching are working as intended, however the user action does not appear and if i set off turretdir.sqf manually ( [] execVM "turretdir.sqf"; ) it errors. EDIT: All working as intended. I'm not as proficient at SQF scripting as I'd like to be, so I've probably made some very obvious mistakes. Any help setting this up correctly and optimising would be appreciated. I will keep trying in the meantime.
×