Jump to content
Sign in to follow this  
Munk

Picking up documents

Recommended Posts

I've been looking for ages how to do this...

I need a trigger to activate when the player (sas1) takes some documents (docs) from a truck. What would I have to put it the condition field?

If you could email at Munk_D@ofpsas.com if you know.

Virtual SAS biggrin_o.gif

Share this post


Link to post
Share on other sites

Put something like "docs" in the condition field of the trigger, add an action to the player when he is near the documents with:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">player addAction ["Take docs", "docs.sqs"]

Docs.sqs:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

docs = true

exit

RED

Share this post


Link to post
Share on other sites

Thus you add Docs = True to the condition field, and then put whateer u want in the activation field, such as sas1 domove getpos truck2 or somthing, wahtever u want.

the_unknown_one

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  

×