View Single Post
Re: Assist Needed, couple last pieces of info needed...
Old
  (#9)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Assist Needed, couple last pieces of info needed... - 07-02-2004

Anyway, what I can say is, in TFC, to check if the flag is carried by a player, pent->v.owner works. Positively.

You can't do that in CS because the "bomb" itself is not really a particular type of entity. There is one entity to represent a bomb lying on the ground ("weaponbox"), but it's another type of entity when this is a planted bomb ("grenade"), and yet another type of entity when the bomb is carried on the back of a player ("weapon_c4").



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote