Search the Community
Showing results for tags 'interact'.
Found 4 results
-
[SOLVED]Adding ACE-Interact to a prop to make INDFOR Hostile
Ferdilanz posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello all, I'm looking for some kind of script to add an ACE Interact to a prop that enables AI-features "Move" and "Target" as well as sets Captive to false after a 10 second wait in order to make an INDFOR surface-to-air missile trailer and its associated Radar trailer hostile to OPFOR. I read on the forum somewhere that using setFriend is wonky and unreliable, which is why I want to use setCaptive and disable "Move" and "Target" in the editor until a player (in a co-op environment for context) ACE-Interacts with the "Item_Laptop_Unfolded" object. This object does not already have an ACE-Interact menu which is why I'd like to ask here for someone willing to make that script for me to use in the mission I'm making. If there are any questions, I'd be happy to answer them within reason. For clarity's sake, I want to add an ACE-Interact to "Item_Laptop_Unfolded" that enables the AI attributes "Move" and "Target" as well as sets Captive "AAtrailer1" and "AAtrailer2" to false. Thanks in advance. -
ACE adding custom self interact to select player headwear.
Wilson543210 posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Hey everyone, I need help in a custom script I need to do. I need to make a self interact available to all players on a multiplayer server, where they can select from a pre-defined list of what headwear I can give them. So like, how would I go about this for ALL players? Do I need to add an "_action = ["blah","blah"] in every single player init? Or is there a way I could do an external sqf and use an execVM or #include? I had experience with vanilla coding but that was over 4 years ago in A2. -
Script allow you to put weapons and ammunition on the interior objects, move these objects and stack them to build a compositions for various tasks. Compact, efficient in terms of performance, single file with about 100 lines. Technically, script does not need to run anything other than the original game. But to take full advantage of its capabilities you need to be able to climb on objects and free your hands from weapons. Any mod or script provides such abilities can be used. I use Enhanced Movement from Bad Benson. Version 2.1 New choosing the place algorithm for putting items. It allows to more precisely place objects, even in hard to reach places. The body direction determines items direction, while the camera direction relative to the body determines the location where items will be placed. Added optional marker indicating position and direction at which items will be put. Whiteboard in demo mission has an menu action to control, show marker or not. Version 2.0.Beta: Interaction logic changed to make usability more intuitive and clear. Appearance of command menu option is now guarantee that the corresponding action can be initiated without any additional conventions. Added ability to move simple objects like camping lanterns, whiteboards and different decorative objects. Added continuous control of carry process. Now at any moment player can elevate object by change stance or drop when got damage or ran out of stamina. Weight of held object affects stamina. Lightweight object can be held indefinitely long, while heavy object will exhaust you very quickly. Now player able to move objects with weapon in hands, but it also increases exhaustion speed of stamina. Added function to batch override mass of objects to predefined values. Now it is possible to specify height of the upper surface individually for each object class. This allows to correct positioning of items on a complex shape objects like chairs or benches. Support of multi-surface objects like shelves and racks. Known issues (not caused by script, but influencing it): Some of objects have unrealistic default weight. For example plastic table weighs 99 kg, camp lantern - 10 kg, small plastic ammo crate - 500 kg, and so on. This should be remedied by the mission designer. Fortunately we have the setMass command. Also script contains special function to fix it in batch manner. Sometimes player stuck in weapon holstering animation when puts weapon to the ground from a kneeling position. Take weapon back solves the problem. Sometimes, due to properties of game physics, military crates attached to the player, can throw him up. Script, usage sample and demo mission with detailed tutorial here. Have fun!
-
Civilian interact script that allows interaction and arresting of civilians. Still WIP but should be error free and work fine on dedicated server http://steamcommunity.com/sharedfiles/filedetails/?id=641786199