Jump to content
Sign in to follow this  
hieve

outdated function?/Wiki entry

Recommended Posts

u misunderstood that comment in the wiki. reveal is something like a network update for objects.

cursorTarget w9ks this way:

_target = cursorTarget;

it gives u the current target near players weapon cursor. i use it in some scripts and it works.

edit:

what u r doing in ur post is just updating the clients informations about the object near players cursorTarget. it throws no error because it could be a desired thing. but in this case its not ur thing :)

Share this post


Link to post
Share on other sites

That example "reveals" the current object under the cursor on the client. The reveal increases the knowsAbout value, which it what make AI see / know about each other. And essentially go into combat

Share this post


Link to post
Share on other sites

That example "reveals" the current object under the cursor on the client. The reveal increases the knowsAbout value, which it what make AI see / know about each other. And essentially go into combat

 

ah! so its more a visual reveal instead of getting info what is on the cursorTarget!?

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  

×