Jump to content
Sign in to follow this  
Luk

Read the weapon name out of the crate

Recommended Posts

I want to do something like that:

-There is an empy crate

-I put a specific weapon to this crate

-And it triggers some action

thanks for any help

Luk

Share this post


Link to post
Share on other sites

I think it's not possible.

Maybe in the campaign it's possible with the weaponPool commands :

crate ... name of the empty crate

m16 ... activating weapon

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

clearWeaponPool

#loop

pickweaponPool crate

~1

?queryWeaponPool "m16" <1:goto "loop"

hint "action"

not tested and it'll destroy actual campaign weapon pool !

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  

×