-
Content Count
372 -
Joined
-
Last visited
-
Medals
Everything posted by Gekkibi
-
Ammo Crate refiller
Gekkibi replied to Militant1006's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I'm going to point you into the right direction: First when the mission starts the script needs to know which magazines and how many are in the crate. Use getMagazineCargo. Save this into a variable. After 1 minute or so (Use while-loop with sleep. For example while "{sleep 60; true} do {") iterate through new getMagazineCargo and compare it to the variable. addMagazineCargoGlobal if the amount of magazines are not the same. If you want to remove extra magazines it is more trickier, because there is no removeMagazineCargo-command. You'll have to clear the whole cargo and then add all items again. Haven't tested this method. This was just a pointer. -
universal end mission for mulitplayer?
Gekkibi replied to Militant1006's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
This. -
Grab (collect) a suitcase to inventory?
Gekkibi replied to aker's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
There is no such thing as inventory item "suitcase". Use EvMoscow / EvKobalt / other evidence. Just deleteVehicle the object and addWeapon the evidence. -
Triggers, rearming and UAVs
Gekkibi replied to Cataclysm2000's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
count crew shilka1 == 0; sideChat -
Radio and Action Menu Text Color?
Gekkibi replied to peppy's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Example: _vehicle addAction [ "<t color = '#AAAAAA'>Weapon: <t color = '#00AA00'>Unload</t>", "scripts\ammoSwap\unload.sqf", [_magazineTypeVehicle, _magazineTypeInfantry, _magazineCapacity], 0, false, true, "toggleWeapons", "_this == gunner _target && _target ammo currentWeapon _target != 0" ]; -
Incremental Damage? Need specific help.
Gekkibi replied to daimyo21's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
poorLittleFellow setDamage (damage poorLittleFellow + 0.03); -
Ordering Player Roles in Select Screen?
Gekkibi replied to Absolution_15th's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Yes. You can change the order by editing mission.sqm and copypaste them to the order you would like them to be. -
Stopping unit from doing animation?
Gekkibi replied to a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
reporter enableAI "ANIM"; -
Immobilizing the player
Gekkibi replied to Vino3's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Well, currently I have "only" 5 open tabs to forums.bistudio.com. But I promise I will not forget to refresh the page next time I'm going to reply. :) (I was busy 7 hours ago, and decided to reply later when I have time and I have double checked how the commands actually work) -
Immobilizing the player
Gekkibi replied to Vino3's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
whoops. I had this thread in a tab for some time, and it seems I forgot to refresh it before replying... :o -
Immobilizing the player
Gekkibi replied to Vino3's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
If you use enableSimulation you can still access your action menu (For example you can select "select weapon XYZ"), but you can't do anything what affects the game in any way. For example you can still use 3D-view, but you can't turn your head. I recommend enableSimulation if you want the player to go to menu by pressing esc. During cutscenes with really annoying custom music I recommend to use disableUserInput, just to annoy everyone. ;) -
need a list of all factions in ArmA2OA 1.57
Gekkibi replied to zonekiller's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Answer: Yes, I know. Answer to your next question: All the factions in Arma 2 are located here. -
Will it work on a dedicated server ?
Gekkibi replied to tomturner's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I agree with you that there should be some mentions in biki site about this kind of issues. Sorry about the sarcastic nature of my last post. -
Will it work on a dedicated server ?
Gekkibi replied to tomturner's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
It works like google.com described it to me ;) -
Will it work on a dedicated server ?
Gekkibi replied to tomturner's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Its all about the right tools (Or a bunch of global variables you broadcast to all clients). It is not that hard as people say it is. They are just too lazy to sit and think for couple of minutes how to make the feature work like intended... -
Benny mission editor examples
Gekkibi replied to cobra5000's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Like a pro, eh? Start from here (I know it is for Arma 1, but it is still up-to-date). The sentry waypoint is explained there. -
Make side East hold/Open fire and Urban combat questions.
Gekkibi replied to EBass's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Do you have CBA? If yes then cba_fnc_taskDefend is your friend. If not, then put this into the init-field: this disableAI "MOVE"; this setPos (nearestBuilding this buildingPos x); , where x is the building position (Just use try & error to find a nice place). Edit: Answer to your vehicle boarding trigger: Put this to the init-field of the trigger: unit != vehicle unit Where unit is the name of the unit. -
Edit: Nevermind. Someone replied before me. :)
-
hint parseText format [" <t align='left' color='#e5b348' size='1.2'><t shadow='1'shadowColor='#000000'>Cargo Drop</t></t> <img color='#ffffff' image='BTK\Cargo Drop\Images\img_line_ca.paa' align='left' size='0.79' /> <t align='left' color='#eaeaea' size='1.0'>You have to <t color='#fdd785'>get out</t> to load cargo!</t> <img color='#ffffff' image='BTK\Cargo Drop\Images\img_line_ca.paa' align='left' size='0.79' /> "]; All credits goes to BTK. :)
-
Adding Capture Points help
Gekkibi replied to koalasalad's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
You can create a "Lite version of Warfare" if you put triggers with "seized by" activation. -
waitUntil all players are in game in MP
Gekkibi replied to ADuke's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
startLoadingScreen decreases the loading time. Haven't tested it yet, but it also should prevent user inputs in the game (For example, you can't blindly shoot everywhere, which is the case of a black screen). -
Read this or use this.
-
Trigger Question
Gekkibi replied to koalasalad's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Put these to a init-field: 1. Picks up a weapon: "className" in weapons player Where className is the classname of the weapon. 2. Player inside the trigger: player in thisList Put the trigger to "BLUFOR present" if player is blufor. -
"player" is the "player". If you are playing a multiplayer mission with 4 friends, you will have a total of 5 different players (You + your friends). If you have a script that kills a player (player setDamage 1) and if every player runs that script then everyone would get killed. I'm Not sure what you are making. Can you give me an example what you are trying to achieve?
-
Yes, it really is that simple.