View Single Post
Re: How to detect entity [properties] ?
Old
  (#10)
Cpl. Shrike
ShrikeBot Coder/Moderator
 
Cpl. Shrike's Avatar
 
Status: Offline
Posts: 550
Join Date: Mar 2004
Location: The Netherlands
Default Re: How to detect entity [properties] ? - 31-05-2004

You have to dinamicaly store the flags state during gameplay.
Don't scan the flag but catch the dod net message "CapMsg"
Store the value then let the bots check that value when it sees that flag.

"CapMsg" has 2 important variables.
the flags name (location)
the team it's owned by.

Those to variables are enuf to store the owner to the flag location.
  
Reply With Quote