Search the Community
Showing results for tags 'conditions'.
Found 5 results
-
!(HandgunWeapon Miller=="") iv got this and when ever a handgun is in the gun slot of the player the enemy shoot him. How do i add a few more items into that bit of code ? _itemsplayer = items player; [<Map>, <Compass>, <Watch>, <Radio>, <GPS>, <NVG>, <Binoculars>] same with his uniform / cloths aswell. I found the bits of code above on the wiki but i still cant see how to stuff the bits together. this will help with the immersion. if the player stands up, or starts taking his items back out of the box they will shoot him. so this way he is forced to watch the screen and listen to the music. another condition im thinking of is making the hostage player have to constantly crouch and stand otherwise he will get shot :) this will destroy the player lol but i cant decide on making him sit and watch or dance sort of thing.
- 34 replies
-
remoteexec addaction conditions
Sanchez Milsim posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi, i would like to addaction to object with remoteexec but i dont know how or where to place conditions of distance. I usually use addaction as this: this addAction ["Pick up INTEL","scripts\add_intel.sqf",[],1,false,true,"","_this distance _target < 2"]; And i would like to merge this with remoteexec addaction [this,["Pick up INTEL", {"scripts\add_intel.sqf"}]] remoteExec ["addAction",2]; Thanks for help!!- 3 replies
-
- addaction
- remoteexec
-
(and 2 more)
Tagged with:
-
Hi, is there any way to trigger 'setCaptive true' only if certain conditions are met? Basically I want it to trigger it 'True' ONLY if the player is disguised as a CSAT helicopter pilot, wearing: I have been reading methods via this post but any further help would be welcome. Thanks!
- 8 replies
-
- setcaptive
- true
-
(and 1 more)
Tagged with:
-
Hello everybody. I've been having some trouble with Waypoint condition blocks. I would rather actually say that im having trouble scripting to test if a variable is set to a certain integer. My problem lies as such: Waypoint 1 Condition Block : See if _Variable = 1 If it is, Go to Waypoint 2. So pretty much I put a trigger to set _Variable = 1, and when the group reaches the waypoint with the condition they do not move at all to the next waypoint. How can I script a block to check if a variable is set to a certain integer. Thank you in advanced.
- 8 replies
-
- Conditions
- Scripting
-
(and 1 more)
Tagged with:
-
Need Help with FSM (Seperating Conditions)
ViseVersa posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hi, i have a huge Problem at the Moment. I want to make 2 Things happen the same Time, if the Criteria is furfilled. The thing is, it will be in a Loop continiously. So basically i want 2 Loops running the same time. That`s an example Picture. The Problem is, if it goes in one Loop it won`t start the next Loop untill i cancel the first loop. I tried literally everything i can think of, but it just won`t work. Has anybody got any idea that could help me out of this? The Loops are definately needed.- 3 replies
-
- FSM
- Conditions
-
(and 1 more)
Tagged with: