Arma Scripting Commands and the WIKI

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ต.ค. 2024
  • Learning commands and how to read and understand the Bohemia Interactive's WIKI
    Keep me motivated
    streamlabs.com...

ความคิดเห็น • 25

  • @QuickZ_
    @QuickZ_ 6 ปีที่แล้ว +1

    This adds the action on the first players body and is not tied to the player it self. This leads for the actions to be stuck on your first character.

  • @SkipBrinax
    @SkipBrinax 6 ปีที่แล้ว +10

    I can't hear a single thing.

    • @DevTeamPaxton
      @DevTeamPaxton  6 ปีที่แล้ว +2

      sorry, my later videos have better audio. I may redo one of this one day

  • @bryonic2124
    @bryonic2124 6 ปีที่แล้ว

    Just found this pack of videos for scripting and cant thankyou enough m8. Covering all the things im stuck with and i can feel my IQ rgrowing haha. Thanks again pal

  • @dr.reaper6878
    @dr.reaper6878 7 ปีที่แล้ว +2

    haha! Your spelling is impeccable. Anyways, I want to thank you, because I really feel like I am learning a lot from these :)

  • @imperiumgaming5502
    @imperiumgaming5502 7 ปีที่แล้ว

    will you bring anything out that will show and help you learn to make custom scripts?

    • @DevTeamPaxton
      @DevTeamPaxton  7 ปีที่แล้ว

      thats all i'm doing is custom scripts.. unless i dont know what you mean by custom

    • @imperiumgaming5502
      @imperiumgaming5502 7 ปีที่แล้ว

      ok i mean like say the hand cuff script thats for altis life at the min you can not hand cuff cops. how would you go on changing the code making it so you can.

    • @DevTeamPaxton
      @DevTeamPaxton  7 ปีที่แล้ว

      On life missions the client runs different init scripts depending on if you are blufor or civilian. So you would just add that option to the civs. Of course, I beleive that script is called through a gui, im guessing.. never played as a cop. but you there would need to be some customization to how the script is called (via addaction, gui, or key press)

  • @titchyASSASSIN
    @titchyASSASSIN 7 ปีที่แล้ว

    @Devteam paxton How would you make it so when you get a kill it plays a sound. I understand the playSound and the event handler im just lost how I would code it

    • @DevTeamPaxton
      @DevTeamPaxton  7 ปีที่แล้ว

      Z a k you need to define your sound in the description.ext, then I'll have to look at the event handler part when I get home. you may need to use a mp event handler but make sure you only execute the play sound on the killer or everyone will hear the sound

    • @titchyASSASSIN
      @titchyASSASSIN 7 ปีที่แล้ว

      I managed to it after hours of thinking. Your videos are really helpful thanks
      description.ext
      class CfgSounds {
      sounds[] = {};
      class killsound {
      name = "killsound";
      sound[] = {"\sounds\killsound.ogg", 1, 1};
      titles[] = {0, ""};
      };
      initPlayerLocal.sqf
      _ehHandle = player addEventHandler ["killed", {
      if (isPlayer (_this select 1)) then {
      {playSound "killsound"; hint "Enemy Killed";} remoteExec ["bis_fnc_call", (_this select 1)];
      };

  • @jamesadams3527
    @jamesadams3527 7 ปีที่แล้ว +1

    What does _this select 0 exactly do everytime?

    • @DevTeamPaxton
      @DevTeamPaxton  7 ปีที่แล้ว +4

      parameters are normally passed to functions and files as arrays. The parameters are in the magic variable, "_this" in the receiving file/function. So _this select 0, Gets the first element in the array from the parameters _this select 1 gets the second and so on. Remember most programming languages and scripting languages, use 0 base counting. So the first element(first value) in an array is at the 0 index. Just a side note... _this select 0 has been replaces with the params command. Which allows you to do alot more with the in coming parameters. Like keeping the scope private and you can do some error handling with it to. But dont be affraid to continue to use _this select 0. You can always go back and update your scripts as you learn more

  • @thegdog368
    @thegdog368 6 ปีที่แล้ว +2

    why is he so quiet

  • @xBloodXGusherx
    @xBloodXGusherx 7 ปีที่แล้ว +1

    It is really hard to hear you on this one.

    • @DevTeamPaxton
      @DevTeamPaxton  7 ปีที่แล้ว +1

      sorry, got some more videos coming with much better audio

    • @xBloodXGusherx
      @xBloodXGusherx 7 ปีที่แล้ว

      DevTeam Paxton
      Thanks. Appreciate it.

  • @melodicnoob159
    @melodicnoob159 8 ปีที่แล้ว

    Hey, nice tuts

    • @DevTeamPaxton
      @DevTeamPaxton  8 ปีที่แล้ว

      Thanks, I'm working on improving them. This is a learning experience for me as well

    • @melodicnoob159
      @melodicnoob159 8 ปีที่แล้ว

      Hey i really enjoyed your tutorials it helped me to make scripts for AltisLife and Making my own game modes, feel free if you want to talk my steam name is MelodicNoob, thanks MelodicNoob :)