Jump to content

Gekkibi

Member
  • Content Count

    372
  • Joined

  • Last visited

  • Medals

Everything posted by Gekkibi

  1. Gekkibi

    Ammo Crate refiller

    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.
  2. There is no such thing as inventory item "suitcase". Use EvMoscow / EvKobalt / other evidence. Just deleteVehicle the object and addWeapon the evidence.
  3. count crew shilka1 == 0; sideChat
  4. 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" ];
  5. poorLittleFellow setDamage (damage poorLittleFellow + 0.03);
  6. Yes. You can change the order by editing mission.sqm and copypaste them to the order you would like them to be.
  7. 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)
  8. whoops. I had this thread in a tab for some time, and it seems I forgot to refresh it before replying... :o
  9. 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. ;)
  10. Answer: Yes, I know. Answer to your next question: All the factions in Arma 2 are located here.
  11. 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.
  12. It works like google.com described it to me ;)
  13. 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...
  14. 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.
  15. 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.
  16. Edit: Nevermind. Someone replied before me. :)
  17. 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. :)
  18. You can create a "Lite version of Warfare" if you put triggers with "seized by" activation.
  19. 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).
  20. Gekkibi

    Adding Lights

    Read this or use this.
  21. Gekkibi

    Trigger Question

    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.
  22. Gekkibi

    player name

    "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?
  23. Gekkibi

    player name

    Yes, it really is that simple.
×