Jump to content
Sign in to follow this  
Sky999

Picking up object triggers text?

Recommended Posts

Hi, I have a scenario in a campaign I'm working on, that has a little part involving the player to simply pick up an evidence file "EvMoscow", from the body a dead pilot, then what I want, is for this to trigger some text once the evidence is in the player's gear.

I've placed the evidence in the dead pilot's gear, placed a trigger, written the text, grouped the trigger with the player, and now all I need to to find out, is how I can trigger this text once the document is in the player's gear.

I have tried searching on BIS and armaholic, but to no avail.

Can anyone help?

Share this post


Link to post
Share on other sites

Do you actually need it to be an item? Otherwise a reasonable way to do this is to add an action ("Rummage through dead guys pockets for evidence", whatever) and simply trigger the communications in the action file. This also gives a little more flexibility if you want something else to happen at the same time, like more coms, events, etc, without working with an in-editor trigger.

Share this post


Link to post
Share on other sites

Un-group your trigger, and in the condition field, put:

"evidenceClassName" in magazines player

Replace "evidenceClassName" with the actual class name of the object you are using for the evidence. If that doesn't seem to work, replace "magazines" with "weapons."

Share this post


Link to post
Share on other sites
Un-group your trigger, and in the condition field, put:

"evidenceClassName" in magazines player

Replace "evidenceClassName" with the actual class name of the object you are using for the evidence. If that doesn't seem to work, replace "magazines" with "weapons."

Worked like a charm, thanks a lot!

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
Sign in to follow this  

×