Jump to content
Sign in to follow this  
Luft08

Can I manually set the "knowledge" value?

Recommended Posts

The knowsAbout command can give me information about the knowledge level of various units. I would like to manually set that value. I've looked at the reveal command but that's now what I want to do.

 

If I have a tank on the map and a player firesNear I want to set the tanks knowledge of that player based on his distance. Very far off the crew knows little to nothing so they just go from safe to combat mode but if the player is close the commander may have a good idea as to the player's position and will engage him.

Share this post


Link to post
Share on other sites

The reveal command can be used to manually set the knowsAbout value though. Look at the alternative syntax for the example.

  • Like 2

Share this post


Link to post
Share on other sites
8 minutes ago, beno_83au said:

The reveal command can be used to manually set the knowsAbout value though. Look at the alternative syntax for the example.

You're right! thanks! (I should be more careful when reading the wiki. 😀

  • Like 2

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  

×