Jump to content
Sign in to follow this  
connorwarman

Able to destroy intel?

Recommended Posts

I am creating a mission in which a group of Opfor needs to destroy Intel which is held within an empty box. I have seen in certian videos where a player is able to go up to the object use the action menu and scroll to destroy something.

Anyone have any ideas on how I would be able to go about this?

Share this post


Link to post
Share on other sites

In the addAction script I would like anyone to be able to use the action.

So should I just set the caller to any?

Share this post


Link to post
Share on other sites

If you want anyone to interact with the box, you have to put the addAction-command into the init-field of the box.

Either do it within the editor if you pre-place your box or use the combination of setVehicleInit and processInitCommands to do it if you spawn the box dynamically ingame.

Share this post


Link to post
Share on other sites

I never could figure that out, so I removed the task completed hint when I used it...

Edited by ForzaJuve

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  

×