Jump to content
Sign in to follow this  
jaenak

Fail when drop weapon?

Recommended Posts

Is it possible to make the mission fail if the player drops his rifle or drops his to pick up a different one? And if not, is it possible to eliminate the ability for the player to drop a weapon? And if the answer to either of these are yes, then how would I do it?

Share this post


Link to post
Share on other sites

What wouldn't work? The thing I'm asking about or something you had thought of as a possible solution?

Share this post


Link to post
Share on other sites

I think you can do it... you give the man like a m16 (thats what well use for this example), and have a trigger that says this:

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

Type: End1

Condit: !(man1 hasweapon "m16")

;man1 is just a variable name, if you want it for the player,

;then you an just replace man1 with player

I hope this works. what it does is to check if man1 hasnt got an m16, and then it will end the mission if he hasnt got it.

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  

×