I'm sorry if I made it sound like I don't know what I am doing or how to use
VS. I have searched my entire solution for it and have even tried to F12 and
go to its definition or whatever. Unless I somehow overlooked it my search
has brought me no where.

Date: Thu, 30 Jul 2009 18:05:02 -0700
> From: Chris Austin <[email protected]>
> Subject: [hlcoders] Created weapon base class - 2 undeclared
>        identifiers     stumping me
> To: [email protected]
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> 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?
>
>
> ------------------------------
>
> Message: 6
> Date: Fri, 31 Jul 2009 02:15:43 +0100
> 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]>
> Message-ID: <[email protected]>
> Content-Type: text/plain;       charset=us-ascii;       format=flowed;
>  delsp=yes
>
> 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

Reply via email to