Jump to content
Sign in to follow this  
blood4odin

Old taskHint for destroyed vehicles keep returning ever time player joins mission

Recommended Posts

G'day guys will keep this as simple as possible.

I'm using "taskHint" in triggers to show a message when a vehicle is destroyed, eg: taskHint ["ARMOUR CONVOY ALPHA DESTROYED!", [0, 1, 0, 1], "taskDone"]

Works fine however every time I disconnect and rejoin the server all previous dead vehicle tasHint's show again on the screen.

Any ideas?

Thanks in advance.

Share this post


Link to post
Share on other sites
Your trigger might be set to Repeatedly go off maybe?

Thanks for the reply mate but I've already check that ;-)

Share this post


Link to post
Share on other sites

You can use an isNil condition maybe to stop the hint's from showing for JIP.

condition:

IsNil "SomeVariable" && ...someOtherCondition(s)...

onAct: SomeVariable=True;Publicvariable "SomeVariable"; hint "This shouldn't show for JIP players because Somevariable is no longer non-existent."

Share this post


Link to post
Share on other sites

G'day Iceman77, thanks for the reply, was hoping for something a little simpler, but I will try this and see what happens.

Thanks for taking time to respond.

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  

×