Arma 3
Not enough ratings
Trait Toggle Triggers
   
Award
Favorite
Favorited
Unfavorite
Data Type: Composition
Composition Type: Logistics
Meta: Collection
File Size
Posted
Updated
2.885 KB
25 Oct, 2021 @ 10:13am
29 Jul, 2023 @ 9:26pm
3 Change Notes ( view )

Subscribe to download
Trait Toggle Triggers

Description
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 Comments
SUSOVALORD 5 Feb, 2023 @ 12:21am 
may sounds stupid but,how do i use this to change my trait?
GeneralCarver[CoB]  [author] 31 Oct, 2021 @ 6:29pm 
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 31 Oct, 2021 @ 4:37pm 
Are you able to make an ACE version?