-
Content Count
1057 -
Joined
-
Last visited
-
Medals
Everything posted by Joe98
-
Activate trigger is someone shot inside trigger area init
Joe98 replied to muj Mobil's topic in ARMA 3 - MISSION EDITING & SCRIPTING
So if anybody fires a shot within a trigger area, you want that shot to cause the trigger to fire? I don't know sorry. You can start by finding out how to do it for yourself. That is, you walk into a trigger area, fire your weapon and that causes the trigger to fire. Once you have learnt that, you can apply it to other soldiers on the map. -
To create a soldier or vehicle with a particulair load out or equipment, go to: Tutorial - Virtual Arsnel This lsts every uniform, every weapon and every piece of equipment. Create your soldier, save him then use the export feature to place him on your map. Once he is there you can use "copy and paste" so a bunch of soldiers equiped the same can be placed on the map.
-
When you place items on the map give each item a name and a number. Do not use box1, box2, box3. If you place more than 9 then the sequence will be box1, box10, box2 Instead it is best to use box01, box02 and box03. On the left of the editing screen you will see a list of all the items you have placed on the map. Giving them names and numbers makes them easy to find later on. Create a mssion and name the mission. Then search Windows Explorer and you will find the file structure. When you name a mission never use spaces. "Red Widget Seven" will come out as "Red%Widget%Seven". So a better name is "Red_Widget_Seven". Learn how to get items and soldiers to start in random locations, but no too random as you don't want them starting miles away! Learn how to use triggers. You can specify who fires a trigger and you can specify what happens when a trigger fires. Triggers and random are the centre of editing. Change the weather, change the time of day, change the time af year as they all have an impact on the look and feel of the mission. At night a full moon adds atmosphere so you need to change the date to get a full moon. .
-
Multiple Triggers to complete Task
Joe98 replied to lwoadam's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Anyhow, to solve a similair issue I solved it as follows: I place 2 boxes out of the way somewhere and name them box1 and box2 When trig1 fired it deletes box1 When trig2 fires it deletes box2 If both box1 and box2 are deleted, this causes trig3 to fire . . -
Making object start a mission in a random discrete location
Joe98 replied to racercowan's topic in ARMA 3 - EDEN EDITOR
An example using a "dumb" object. Find something small such as a watch. Enter the map as a player and double check that you can actually place the item where you want to place it. Go back to the editor and place the item at that location. If you wish to place it on a table then you have to move it around a bit to get it just right. Enter the map as player and double check it is positioned correctly. Back to the editor and get the x,y,z coordinates of the object. Do this with 10 watches across the map and note their coordinates. . -
Making object start a mission in a random discrete location
Joe98 replied to racercowan's topic in ARMA 3 - EDEN EDITOR
Click on the marker. It has X,Y and z coordinates. -
Spawn Fire Support on Smoke?
Joe98 replied to Snipes McKinley's topic in ARMA 3 - MISSION EDITING & SCRIPTING
How do you fire the smoke in the first place? . -
Teleport squadmembers to squad leader
Joe98 replied to Nuxes's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Actually I name the leader blue1, but I didn't want to confuse the OP -
Teleport squadmembers to squad leader
Joe98 replied to Nuxes's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Which script command is a variable? -
Teleport squadmembers to squad leader
Joe98 replied to Nuxes's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Name the leader "leader". Name the first subordinate blue2 blue2 setpos getpos leader Causes blue 2 to teleport to the location of leader -
How about just use waypoints without scripting?
-
scripting Custom ammo box contents when spawned
Joe98 replied to Cooks Corner's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Place the box on the map with the correct contents. Then teleport the box to the destination via a trigger. -
Help, trying to make a vehicle unlock if you have a key in your inventory...
Joe98 replied to PlatinumFIVE's topic in ARMA 3 - MISSION EDITING & SCRIPTING
The issue here is grammar, not scripting. I now see the above was a typo. I was responding to a typo. -
Help, trying to make a vehicle unlock if you have a key in your inventory...
Joe98 replied to PlatinumFIVE's topic in ARMA 3 - MISSION EDITING & SCRIPTING
So now I think you are trying to say: In single player there is only one player and therefore "player" works. Whereas in multi player there is more than one player therefore "player" could mean anybody so the specific person needs to be defined. Originally I thought ""Item_keys" was the command that would not work in multiplayer. Doh! . -
Help, trying to make a vehicle unlock if you have a key in your inventory...
Joe98 replied to PlatinumFIVE's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I am always amazed that some commands do not work in multiplayer. -
Place markers on the map so they spawn on the markers. Place the markers so they spawn at random on one of the markers.
-
I have 5 scripts: location0.sqf location1.sqf location2.sqf location3.sqf location4.sqf I walk into a trigger and this runs another script named head1.sqf How do I write a script that selects one of the 5 scripts at random. .
-
Syntax question for hints
Joe98 replied to Gamer-3ac24a5e7f4beb96's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Structured text. Even I know how to use this. https://community.bistudio.com/wiki/Structured_Text . -
How to select a script at random?
Joe98 replied to Joe98's topic in ARMA 3 - MISSION EDITING & SCRIPTING
You see (he says referring to the other thread) it is easy to give a accurate instruction thank you 🙂 And now somebody else can utilise this in their mission. -
Hide object1 when object2 is destroyed
Joe98 replied to mzgr's topic in ARMA 3 - MISSION EDITING & SCRIPTING
To are helping to make my point. If I use the underscore, then it will only run on my computer. If I upload the mission, nobody else can play it. If I don't use the underscore, the I can upload the map and anybody can play it on their computer. And yet above you gave 2 examples and you chose to include the underscore. Anybody who follows your example, and uploads the mission, will have a failure and then leave the forum and the game in frustration. -
How to select a script at random?
Joe98 replied to Joe98's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Yes I agree. And yet and yet and yet and yet. It lists the scripts horizontally. When listed vertically it is much easier to read. It is easier to come back 6 months later and know what it means. it is easier to copy and paste 5 rows and then amend one number in each row. Fun is playing pretend soldier and shooting Ai targets. . -
Hide object1 when object2 is destroyed
Joe98 replied to mzgr's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I do not understand a word of that. Therefore, is this the right code? __box1 hideObject true; And what in the world is the underscore for? -
Hide object1 when object2 is destroyed
Joe98 replied to mzgr's topic in ARMA 3 - MISSION EDITING & SCRIPTING
If you read the Biki entry for hideObject you will see that the alternate syntax allows one to "unhide" an object. _obj hideObject true; // hide object _obj hideObject false; // unhide object If the object is named box1 how would you write the code? -
How to select a script at random?
Joe98 replied to Joe98's topic in ARMA 3 - MISSION EDITING & SCRIPTING
This is a game. It is meant to be fun and not work. Many people have stated that they dropped the game and left the forum because they were given complex answers they don't understand. Larrow's code is complex and I don't understand. I am not going to study it because that would be work and not fun. Your script uses fewer characters than the one I found. However, your script still lists all the individual scripts. But the list is horizontal. The way I have done it the list is vertical. I can come back in 6 months, glance at the code and know exactly what it does. . -
Hide object1 when object2 is destroyed
Joe98 replied to mzgr's topic in ARMA 3 - MISSION EDITING & SCRIPTING
To hide an object, named for example box1, the command is hideobject box1 I don't know how to unhide an object. Neither "show" nor "unhide" appear in the scripting commands. I am sure there is a way.