View Single Post
Re: Assist Needed, couple last pieces of info needed...
Old
  (#7)
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... - 06-02-2004

Your loop may not work the way it is meant to. Make SURE you initialize pent to NULL beforehand, this is a must. Also, try replacing the stop condition with
Code:
!FNullEnt (pent = UTIL_FindEntityByClassname(pent, "building_sentrygun"))



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