Jump to content
Sign in to follow this  
<COPPERHEAD) =>

A simple "knowsabout" command doesn't work!

Recommended Posts

When the player sees a shilka, I want the first objective to be set to "done", so I made a trigger with "me knowsabout shilka3 > 1" in the conditions field and ' "0" objstatus "done" ' in the activation field.  A simple thing like that doesn't work.  Occasionally the objective shows as being completed, but usually, even if I'm right next to the shilka, or the shilka is driving around right next to me, it doesn't show as completed!  It's so simple, and I can't imagine what I could be doing wrong.

Share this post


Link to post
Share on other sites

set it to >0

The value seems to hang on 1 for quite a while, before moving on to higher values.

I've used it tons of times for custom enemy alarms. It really should work.

Share this post


Link to post
Share on other sites

Doesn't work.  I tried it again just now.  I made a guy start right next to me, and I put in a trigger "me knowsabout him > 0" "him setdammage 1".  He still didn't die. But if I shoot him, then he gets 100% damage.

Share this post


Link to post
Share on other sites

Right-click is the trick!

I've made some big detection scripts, but then I noticed that the

"detected by West" -trigger is pretty good, also.

Share this post


Link to post
Share on other sites

I would set the knowsabout to : =<4

That should work. Then the trigger should activate nomatter what when you look at the target. Unless its obscured that is smile.gif

Share this post


Link to post
Share on other sites

I thought that

player knowsAbout enemy_unit

returns 0 if I don't know anything about the enemy_unit?

So

player knowsAbout enemy_unit <= 4

would be always true?

Or am I missing something here?

Share this post


Link to post
Share on other sites

Agree Laury.

<=4 is always true.

I just made another test with "me knowsabout him >0" and it worked fine. I just turned and looked at him (at about 100m away on clear ground) after half a second of being in view, he dropped dead, without any right clicking.

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  

×