Jump to content
Sign in to follow this  
rellikki

Check for a magazine?

Recommended Posts

There is a command to check if the unit has a certain weapon, the hasWeapon-command, but how can I check if the unit has a certain type of magazine?

Share this post


Link to post
Share on other sites

This is interesting.  smile_o.gif

I was cooking up an idea with OPFOR being friendly until player takes a magazine/weapon from a crate.

Can I use this to launch <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Resistance setFriend [East , 0] to set behaviour change for the enemy?

edit:

OK , it said in BIKI that it needs to be activated both ways:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Resistance setFriend [East , 0];

East setFriend [Resistance ,0];

Share this post


Link to post
Share on other sites

Any ideas how to check if cargo has a specific amount of magazines?

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  

×