Jump to content
Cigs4

triggers and ACE items

Recommended Posts

Hello,

 

First of all, if this was already posted, I apologize.

 

Ok, here is the thing:

 

The mission is about recover a body.

 

I'm trying to activate a trigger when an object, "ACE_bodyBagObject" (classname), is putted inside a vehicle with ACE interaction system. The problem with ACE is that the object called "bodybag" with a corpse in it, is created during the game session, so I can't name it.
 
I really appreciate any help from you, guys.

 

And sorry if this is too noobish, but I'm new in coding.

 

 

Thanks!

Share this post


Link to post
Share on other sites

there is an ace 3/ cba eventhandler when a body is placed in a body bag, so you can track the created bodybag. (Will post an example when I'm back from work)

Share this post


Link to post
Share on other sites

;-) 

  • Thanks 1

Share this post


Link to post
Share on other sites

Yeah, it is really had to read when using dark theme. Best to use default colours defined for each theme CSS anyway.

Share this post


Link to post
Share on other sites

Thank you, guys! You rock! I had an incident and I was without a computer for a while, so sorry if I did not reply this earlier.

And I did not format my texts, never did. Don't know what happened to you, but for me it's normal.
 

Anyway, thanks again!
 

Here is the solution:

Quote

["ace_cargoLoaded", {if (typeOf _item == "ACE_bodyBagObject") then {bagInCar = true}}] call CBA_fnc_addEventHandler;

 

Edited by Cigs4
sharing the solution

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×