Jump to content

Jun Xiao

Member
  • Content Count

    21
  • Joined

  • Last visited

  • Medals

Everything posted by Jun Xiao

  1. Hi, I have an idea. When the RHS L39C trainer has finished launching the s-5 rocket, or the remaining s-5 rocket in the L39C, the pilot returns to a target point. But I don't know how to write code the trigger condition, I only know rhs_weap_s5m1 is S - 5 rocket. Who can help me? Thank you!
  2. Okey,Thanks. stanhope. But it's too hard for me. Is there a simpler way, like using a trigger?
  3. HI, I'm novice,As I said. I want to know how to get the muzzle and magazine name of RHS PFM-1 mine. AI placement RHS pfm-1 mine: unit fire ["Rhs_SmallMine_Muzzle", "Rhs_SmallMine_Muzzle", "rhs_mag_mine_pfm1"]; I was told that "Rhs_SmallMine_Muzzle", "Rhs_SmallMine_Muzzle" is Muzzle and magazine name. But I don't know how to get the other mines Muzzle and magazine name. I'll thank you anyway.
  4. Nope, thanks for you help. You've helped me, even if you tell me in code, I probably don't understand. So other people can only tell me how to do it by video.
  5. I want to do a task. Allow AI to place RHS pfm-1 mines. The way I tried the original: Unit firepower ["BoundingMineRangeMuzzle", "BoundingMineRangeMuzzle", "APERSBoundingMine_Range_Mag"]; It works, but how do you use RHS to achieve the same effect? What are "BoundingMineRangeMuzzle" and "APERSBoundingMine_Range_Mag"? How do you get them from RHS's pfm-1? Thanks!
  6. It's Fine,Thank you, SpaceHippo. Now I know that I can use the code to get the muzzle name and magazine name. But what bothers me now is,how to use AI to trigger rifle ammunition
  7. I'm going to ask you for help, but I'm really embarrassed. I didn't expect your reply. According to the detailed method you told me, I know how to get the Muzzle and magazine name. Thanks for your patience, Janez. Although my ability is not enough, what you said will be of great help to my future. I'll do my best
  8. I will try your method. Thank you,Janez. Also, thank you Mr. H. and Harzach.
  9. Mr H. Thank you for your help. Thank you for responding so quickly.
  10. Mr H. Thank you for your quick answer. You mean, "Esc" config files?
  11. cb65 Thank you. It's Great. This script is very professional. It would be nice to use this script to trigger other static weapons.I'll try to use RHS static weapons. Unfortunately, it's too hard for me.
  12. HI. I had an idea , for the AI to disassemble the static weapon ,then carry a backpack. I searched for a long time, but there was no answer. How to let AI remove static weapons and carry backpack. Scripts or code are fine thanks.
  13. SpaceHippo I'm sorry I just saw your answer,Thank you for taking so long to help me find the answer.The AI planted mines. May I ask you a question ? How did you get RHS pfm-1 muzzle and magazine name? Thanks.
  14. spacehippo First thank you for your help. This problem has been bothering me for a long time. I don't know much about scripting. These can be used to assemble static weapons. mortar_gunner addEventHandler ["WeaponAssembled", { _this select 0 action ["GetInGunner", _this select 1]; }]; _base = unitBackpack mortar_assistant_gunner; mortar_assistant_gunner action ["PutBag"]; mortar_gunner action ["Assemble", _base]; If the player is not in the group.How does AI disarm static weapons?
×