武装突袭3

武装突袭3

评价数不足
Trait Toggle Triggers
   
奖励
收藏
已收藏
取消收藏
Data Type: Composition
Composition Type: Logistics
Meta: Collection
文件大小
发表于
更新日期
2.885 KB
2021 年 10 月 25 日 上午 10:13
2023 年 7 月 29 日 下午 9:26
3 项改动说明 ( 查看 )

订阅以下载
Trait Toggle Triggers

描述
This composition contain two triggers which are scripted to enable and disable engineer and medic traits for players when they pick up the respective kits in their inventory. Multiplayer compatiable. CSLA and SOG DLC compatiable.
3 条留言
5U5 2023 年 2 月 5 日 上午 12:21 
may sounds stupid but,how do i use this to change my trait?
GeneralCarver[CoB]  [作者] 2021 年 10 月 31 日 下午 6:29 
C.Eagle - I don't play with ACE so i'm not familiar with the ArmA 3 version, believe it or not. All you have to do, is edit the condition line to include checking the class name of the item in the player's inventory. So...

Current scirpting in condition line of medic trait trigger (as of 10/31/21)...
"vn_b_item_medikit_01" in items player || "Medikit" in items player || "CSLA_MediKit_Z80" in items player || "US85_MediKit" in items player

lets say your ACE item class name is ACE_SuperDuperMedkit

You would add in the following code BEFORE "in items player"...

|| "ACE_SuperDuperMedkit"

So the revised condition line would look like..
"vn_b_item_medikit_01" in items player || "Medikit" in items player || "CSLA_MediKit_Z80" in items player || "US85_MediKit" || "ACE_SuperDuperMedkit" in items player

Hope that helps. : )
C. Eagle 2021 年 10 月 31 日 下午 4:37 
Are you able to make an ACE version?