Jump to content
Sign in to follow this  
RjC_77

guy puts bomb and detonates it

Recommended Posts

Searching the forum i found a solution for having a guy put a satchel at a certain spot and detonate it on another:

Give the guy a wapoint and have him put a charge:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">unitname fire["put","pipebomb"]

to set it off i had to place a trigger at the desired spot and put this in onActivation field:

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

The guy will walk to the waypoint and will continue to the touchoffpoint without having put a bomb!

I checked to see if he had a charge ( pistols.gif )and he did have one. He didnt use it.

What am i doing wrong??

Share this post


Link to post
Share on other sites

Try:

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

and then:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Unitname action ["TOUCHOFF", Unitname]

That one works for me anyway.  smile_o.gif

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  

×