That would be in the file you did the copy and paste from, if you do it from 
the new class it will just twiddle its thumbs, and return nothing

--------
Owner Nigredo Studios http://www.nigredostudios.com

--- On Fri, 31/7/09, Saul Rennison <[email protected]> wrote:

From: Saul Rennison <[email protected]>
Subject: Re: [hlcoders] Created weapon base class - 2 undeclared identifiers 
stumping me
To: "Discussion of Half-Life Programming" <[email protected]>
Received: Friday, 31 July, 2009, 11:15 AM

If you're using Visual Studio I suggest right-clicking on the  
identifiers and selecting "Go to definition" then including the header  
file which it sends you to.

Thanks,
-Saul.

On 31 Jul 2009, at 02:05, Chris Austin <[email protected]> wrote:

> I've been creating my own weapon base class. I have this function  
> which is
> copied. The line: if( GlobalEntity_GetState( "friendly_encounter" ) ==
> GLOBAL_ON ) gives me two errors saying GLOBAL_ON and  
> GlobalEntity_GetState
> are undeclared identifiers. SDK Docs and the forums don't say  
> anything about
> it and I've tried to hunt it down in the SDK and still can't figure  
> out why
> I can't rid myselves of these errors.
>
> Has anyone encountered something similar and could share their  
> wisdom with
> me?
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list  
> archives, please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders




      
____________________________________________________________________________________
Access Yahoo!7 Mail on your mobile. Anytime. Anywhere.
Show me how: http://au.mobile.yahoo.com/mail
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to