-
Content Count
1057 -
Joined
-
Last visited
-
Medals
Everything posted by Joe98
-
How to make an AI shoot or Simulate shots around me
Joe98 replied to Nexo Ton's topic in ARMA 3 - MISSION EDITING & SCRIPTING
You can simulate bullets landing around you. In my testing I started with smoke grenades landing around me because I can see the smoke. Then I switched to night time and tried flares instead. Once I figured that out, I switched to mortars. Very scary! Then I tried other types of ammo and it all works. Then I switched to bullets . A rain of bullets can kill you. Is that what you are after? . -
SelectRandom waypoint? How to?
Joe98 replied to JIMMI DEE BILLY BOB's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Place a waypoint on the map. A man will move to the centre of the waypoint. Now set the radius of the waypoint to 500 meters. The man will move to a point at random within the circle. In effect this is a random waypoint. The centre of the waypoint could be a building or a pond or some other obstacle. Set the completion radius to 30 meters to avoid obstacles. . -
Spawning items into container
Joe98 replied to BeaniePope.'s topic in ARMA 3 - MISSION EDITING & SCRIPTING
You could start with a simple version and build on it. Choose one item and place just one in the container via a script. When you get that to work, build on it. -
How to change location color on map?
Joe98 replied to kibaBG's topic in ARMA 3 - MISSION EDITING & SCRIPTING
You could place a marker on the map. Change the size to suit and select a colour that suits. -
want script to not load until mission start screen of player looking through eyes (after mission intro map etc)
Joe98 replied to bendy303's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Place your man on the map. Surround the man with rectangular shaped triggers. Each trigger does the same thing, that is they run your script. The mission starts and the man starts walking and enters a trigger and the script runs. You have to delete the triggers as well. So each trigger should also say: Delete trigger 1, delete trigger 2, etc etc -
I used to know how to place a timer up on the screen. It would count down from (say) 30 seconds. It was found on forum that was closed. I kick myself for not writing it down.
-
Place a box on the map. Name it box1 Place yourself on the map. Name yourself blue1 Place a friendly soldier nearby, standing on top of the box. the soldier is named blue2 Place another friendly soldier way over on the other side of the map. Name him blue3 Place a trigger on the map. If blue2 is killed then the trigger fires. the condition is !alive blue2 The command in the trigger is: blue3 setpos getpos box1 Now, shoot blue2. blue 2 is killed and blue3 is transported to the box. Back to your question: Every seat in a vehicle has a number. blue3 setpos getpos seat3 (of your vehicle - sorry I don't know the exact wording but you can experiment) .
-
I want change player's side
Joe98 replied to 무니 (무니)'s topic in ARMA 3 - MISSION EDITING & SCRIPTING
When you place a person on the map the 3 options are: The person is the player The person is playable The person is non-playable If you are the player, and you wish to switch to the playable person, you do so with the stroke of a key. Every person sets up their keyboard for the game so your key will be different to mine. You can create a trigger so that when the trigger fires, you switch to the playable character. . ============================================================================== Problem: You can create lots of person as playable. In which case when you hit your key, you have to choose a character from a list. So it is best to make only one person playable. -
Wait for end of the sound ( trigger)
Joe98 replied to PrizraK11's topic in ARMA 3 - MISSION EDITING & SCRIPTING
When you create a trigger, you have the option: : the trigger is fired once only or : the trigger is fired every time the conditions are met . -
Get AI enemies to have RPG as default weapon.
Joe98 replied to H4mmersticks's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Further, you can create a trigger. Given the conditions are fulfilled, the trigger fires. Then, the weapon he is carrying is deleted and replaced with a different weapon. To the observer, from a distance, he seems to be switching from one weapon to another. -
Get AI enemies to have RPG as default weapon.
Joe98 replied to H4mmersticks's topic in ARMA 3 - MISSION EDITING & SCRIPTING
May I suggest that you start by giving them an RPG and make sure they have no other weapon. And see how they handle it. In the second test give them a RPG and a pistol and see how they handle them. I have done this test. The RPG is always the secondary weapon. You have to give them an RPG and no other weapon. . -
How to Spawn AI Group with custom loadouts?
Joe98 replied to DOA's topic in ARMA 3 - MISSION EDITING & SCRIPTING
. You don't need to spawn anything. Create the unit with the details that you see fit. Place the unit in an out of the way place on the map. Create a trigger and when the trigger fires, transport the unit to the correct location. . . -
How to get specific position inside the house?
Joe98 replied to AlexRUS's topic in ARMA 3 - MISSION EDITING & SCRIPTING
You could place a box in every house and then there will be a box in all houses selected at random. . -
How to get specific position inside the house?
Joe98 replied to AlexRUS's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Place a soldier on the map (you). Place an ammo box in the building. Place it on any floor you wish. Start the mission. Walk into the building and make sure the box is in the right place. If it is in the wrong place go back to the editor and move the box around. Keep doing this till it is in the right place. Now click on the box and read the X, Y, Z coordinates. You can now use a script to place the box on those coordinates. While you are getting the position correct, you can make minor adjustments to the coordinates to get the box just right, rather than moving it with your mouse. . . -
Place a box on the map and click on the box. Set the placement radius to 20 meters. Now see the circle on the map around the box. The box will start at a place at random within the circle. .
-
+20 means 20 meters to the east +4 means 4 meters to the east It is meters and not degrees. .
-
Please experiment in case I made a typo: This dates back to Arma 2 days. Soldier is named green1 Truck is named truck1 In this example a soldier, green1 starts 20 meters to the east and 30 meters to the north of a truck named truck1 green1 setPos [(getPos truck1 select 0) +20, (getPos truck1 select 1) +30]; +20 = 20 meters East of the truck -20 = 20 meters West of the truck +30 = 30 meters North of the truck -30 = 30 meters South of the truck Instead of 20 meters if you want a random number between say 20 and 100 the command is: (Again the plus and minus refer to east, west, north and south) green1 setPos [(getPos truck1 select 0) - 20 - (random 80), (getPos truck1 select 1) - 20 - (random 80)] .
-
PvP Mission with different "win/lose ending" per player side (east/west)
Joe98 replied to NFG WhatHiMean's topic in ARMA 3 - MISSION EDITING & SCRIPTING
In the editor is a menu item with a drop down. The choices are: Intro Mission Outro win Outro lose You can experiment with these. -
Using the virtual garage to turn one vehicle into another
Joe98 replied to Solarcode red's topic in ARMA 3 - MISSION EDITING & SCRIPTING
You can test with a simple idea. Turn a jeep into a truck. Drive your jeep into a trigger and the trigger fires. When the trigger fires it runs a script (sorry I don't have the exact commands). Your script does these things: You are placed on the ground next to the jeep The jeep is deleted from the map The truck is moved to the position where the jeep was You are placed into the driver's seat of the truck This all happens in a split second, so to the player it will appear instantaneously. . -
I don't have the advanced options for waypoints.
Joe98 replied to Ricky27's topic in ARMA 3 - MISSION EDITING & SCRIPTING
When editing you need to start with simple things and go from there. Start with one jeep with one driver and one passenger. There is a "disembark". Try that and go from there. . -
You can fake it like they do in the movies. A trigger causes- a cargo aircraft to fly over then: cargo with parachute appears in the sky next to the aircraft giving the impression that it was dropped by the aircraft (it wasn't) then: appears to land in bushes then: you walk over to the bushes and the cargo is there. (Actually it was beamed over when the trigger fired.) The players get the impression that it all went to plan 🙂 .
-
How about you place ammo boxes on the ground in a row and fill them with all the gear? .
-
Applying customization to vehicle in trigger
Joe98 replied to Mr.clean132's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Another option is to create the truck just the way that you want it and place it on the edge of the map. Then when you need the truck a trigger fires and the truck is moved to the required location. In this example the location is over a small rock "truck1 setpos getpos rock1" . -
Another option is to have the vehicle sitting on the map in an out of the way place. Create a trigger and when the conditions are met, the trigger transports the vehicle to the correct location. .
-
Activate trigger is someone shot inside trigger area init
Joe98 replied to muj Mobil's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I did provide a first step. You probably missed it. I note the OP has not returned. Most likely because he has not understood anything that has been said. A new point: Many activities in the editor have an easy solution. The editor is designed that way. Many have stopped playing the game because they were given a complex solution they did not understand. Yet another point. When I have made the same comment before I have been told those other people were lazy. .