Merad
Member-
Content Count
22 -
Joined
-
Last visited
-
Medals
Community Reputation
10 GoodAbout Merad
-
Rank
Private First Class
-
Dealing with Dialogs.
Merad replied to Merad's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Simple, not so much, but very helpful! Thanks! -
Making a unit join the nearest group.
Merad replied to mechastalin's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Change the activation type to what? Edit, oh it changes the options. Good to know. -
I'm working on a mission and rough or not it's near completion. The last thing to do is drop in dialog. A LOT of dialog. And I'm really confused how to do it. I've read the tutorials about creating dialog but I'm confused on several points. Firstly, the tutorials are geared toward multiplayer option switching, two buttons appear select one yadda yadda. While the mission I'm making is multiplayer the dialog is through talking to people so I need a tutorial or advice geared toward creating dialog trees and adding dialog options to people. Secondly, while the tutorials I've read are great in describing in detail how to make the text purple or in MSComincSans font they don't actually tell you how to actually put it in a game. They mention creating a class but never address what a class actually is and how the game uses it. Now I can find other tutorials that do just that but there's a disconnect between what a class is in general and how to practically use it in this particular case. Are there any missions I could look at that have the player actually dialog talking to people? Are there any pointers of where to go and learn this? Thanks! (For example: What I need to do is let the player walk up to *Certain Person* have a dialog option of *Where did you purchase these droids?* and a response from the person *These aren't the droids your looking for.*) That is what I'm trying to do and I'm mightily confused on how to do it. Thank you again.
-
How do i stop a unit from moving?
Merad replied to a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Are there examples of how to script an AI to halt or proceed to waypoints through the dialogue box available? I'm trying to create a mission where the player is clearing areas before a convoy goes through. I can get a result by creating triggers that hold the convoy at waypoints until the player goes through the area but it's sloppy and impercise. What if the player is in an area in a fire fight but it triggers the truck anyway? I'd like to give the player a manual option. -
disableing all AI in an area.
Merad replied to Merad's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Exact. You have two sides fighting (sudden outbreak of fighting in a formation). I'm having a lot of trouble getting the given script to fire. -
disableing all AI in an area.
Merad replied to Merad's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
It's a lot more difficult to spawn all this for me. The area in question has upwards of 80 AI units alone. Trying to figure out how to place each one in the specific formations they need to be in seems like a much more difficult task. -
//Grabs all the objects within 1000 of SleepZone Marker Sleepers = nearestObjects [sleepZone,["All"],1000]; //Tells them to go to sleep. Foreach "Sleepers" disableAI "Move"; Foreach "Sleepers" disableAI "Target"; Foreach "Sleepers" disableAI "Autotarget"; What I'm trying to do is have all the units in a specific area frozen until the players trip a trigger. Unfortunatly the above doesn't work when I run it from the init.sqf Can anyone help? Thanks!
-
Following these instructions just gives me a "Burn.sqf" not found.
-
Can someone point me to where it explains how to use the timeout function of waypoints? After the unit spawns it goes to a waypoint and holds there, this is sync'd with a trigger so until that trigger goes the unit stays. That's fine. However what I want to do is have the unit wait for 15 minutes until before moving on. I've tried the hold command but I can't get it to break out of hold. According to the biki the timeout space is supposed to hold the unit until the time is up but it doesn't. Can someone help me understand what I need to do here?
-
Spawn some ammo on a trigger
Merad replied to GunnDawg09's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
What about adding things like binoculars? How do you do that? -
Create Trigger troubleshooting.
Merad replied to Merad's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Noone? Is it an obvious error? I'm just not seeing it. -
Create Trigger troubleshooting.
Merad posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I have a trigger, on activation the following code is activated. tskReachWayPoint2 settaskstate "SUCCEEDED";VEHRET=createTrigger [4870.25,7488.27,0.00134277];VEHRET setTriggerArea [100,100,0,False];VEHRET setTriggerActivation ["Anybody","Present", true];VEHRET setTriggerStatements [HMV1 in thislist,tskReturnHMV settaskstate "SUCCEEDED"] The intention is to both set a task as completed and create another trigger at a different part of the map with a new task. The problem is that the second created task is already marked as completed when this code executes. -
Is distance to an item the best way?
Merad posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I'm trying to get a mission end to trigger if a certain vehicle is in an area. Whats the best way to do this? Should I use an entire script? Is there an easier way? ---------- Post added at 08:43 PM ---------- Previous post was at 07:36 PM ---------- How would I do a "Distance too" check? I'm thinking this is the easiset way. If "Distance" from "Vehicle" to "Objective" is less than "Amount" then End1 How do I do that? I'm reading the ARMA guide about Position but I'm having a hard time translating that into the code I need. -
Ok I was wondering where to find world positions. I was just reading it off the editor map. I'll give it a whirl. ---------- Post added at 05:37 AM ---------- Previous post was at 05:02 AM ---------- Wow. I'm having a lot of trouble getting these units to move. According to the guide I should be able to drop: RAI6 doMove getMarkerPos RallyPoint Where RAI6 is the unit and RallyPoint the name of the Marker into the init line and it'll move. But it doesn't. RRrrgh.
-
I'm trying to set a trigger to move several units to a position but I can't get it to fire. Can someone tell me what I'm doing wrong? {_x doMove 045,071} forEach [RAI1,RAI2,RAI3,RAI4,RAI5,RAI6]; I've set the trigger for both bluefor present and NONE. Thanks!