void CTalkMonster :: FollowerUse( CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value )
That particular FollowerUse, you mean? The one in the CTalkMonster class? :) You'll have to implement your own FollowerUse, StartFollowing, and so forth in your class (hint: just copy them over. :). Persuter > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:hlcoders- > [EMAIL PROTECTED]] On Behalf Of Lee Shaw > Sent: Thursday, February 21, 2002 11:16 AM > To: [EMAIL PROTECTED] > Subject: Re: [hlcoders] hgrunt code > > the #include "talkmonster.h" is already in the hgrunt code > > > >From: "Mike Blowers" <[EMAIL PROTECTED]> > >Reply-To: [EMAIL PROTECTED] > >To: <[EMAIL PROTECTED]> > >Subject: Re: [hlcoders] hgrunt code > >Date: Thu, 21 Feb 2002 17:14:58 -0000 > > > >You'll have to add : > >#include "talkmonster.h" > >to be able to use the FollowUse code. > > > > > >----- Original Message ----- > >From: "Lee Shaw" <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >Sent: Thursday, February 21, 2002 4:59 PM > >Subject: RE: [hlcoders] hgrunt code > > > > > > > right i implemented the slFollow task into code but when i add in > >SetUse( > > > FollowerUse ); just like barney and sci's have in there code exactly > >under > > > MonsterInit(); i get 2 errors which i don't no how to fix but when the > > > SetUse( FollowerUse ); bit aint there then it compiles fine. this is > >what > >i > > > get > > > > > > C:\SIERRA\Half-Life\SourceCode\dlls\hgrunt.cpp(1043) : error C2065: > > > 'FollowerUse' : undeclared identifier > > > C:\SIERRA\Half-Life\SourceCode\dlls\hgrunt.cpp(1043) : error C2440: > > > 'static_cast' : cannot convert from 'int' to 'void (__thiscall > > > CBaseEntity::*)(class CBaseEntity *,class CBaseEntity > *,USE_TYPE,float)' > > > There are no conversions from integral values to > >pointer-to-member > > > values > > > > > > > > > - ^^RaZiEl^^ > > > > > > >From: "Persuter" <[EMAIL PROTECTED]> > > > >Reply-To: [EMAIL PROTECTED] > > > >To: <[EMAIL PROTECTED]> > > > >Subject: RE: [hlcoders] hgrunt code > > > >Date: Thu, 21 Feb 2002 00:39:37 -0600 > > > > > > > >Dude. Seriously. Do it my way. Don't implement the TalkMonster code, > it > > > >does not have the follow code in it. > > > > > > > >Read http://hlpp.valveworld.com/tuts/ai-description.html > > > > > > > >Add the slFollow task to the HGrunt class. > > > > > > > >:) > > > > > > > >Persuter > > > > > > > > > -----Original Message----- > > > > > From: [EMAIL PROTECTED] [mailto:hlcoders- > > > > > [EMAIL PROTECTED]] On Behalf Of Lee Shaw > > > > > Sent: Wednesday, February 20, 2002 9:14 AM > > > > > To: [EMAIL PROTECTED] > > > > > Subject: Re: [hlcoders] hgrunt code > > > > > > > > > > i've been tryin to merge the CTalkMonster follow code into the > > > > > CSquadMonster > > > > > code but i just keep gettin this.. > > > > > > > > > > C:\SIERRA\Half-Life\SourceCode\dlls\squadmonster.h(94) : error > >C2065: > > > > > 'TLK_CFRIENDS' : undeclared identifier > > > > > C:\SIERRA\Half-Life\SourceCode\dlls\squadmonster.h(94) : error > >C2057: > > > > > expected constant expression > > > > > C:\SIERRA\Half-Life\SourceCode\dlls\squadmonster.h(100) : error > >C2065: > > > > > 'TLK_CGROUPS' : undeclared identifier > > > > > C:\SIERRA\Half-Life\SourceCode\dlls\squadmonster.h(100) : error > >C2057: > > > > > expected constant expression > > > > > C:\SIERRA\Half-Life\SourceCode\dlls\squadmonster.h(100) : warning > > > >C4200: > > > > > nonstandard extension used : zero-sized array in struct/union > > > > > C:\SIERRA\Half-Life\SourceCode\dlls\squadmonster.h(101) : error > >C2229: > > > > > class > > > > > 'CSquadMonster' has an illegal zero-sized array > > > > > C:\SIERRA\Half-Life\SourceCode\dlls\squadmonster.h(115) : error > >C2065: > > > > > 'm_hSquadLeader' : undeclared identifier > > > > > C:\SIERRA\Half-Life\SourceCode\dlls\squadmonster.h(118) : error > >C2673: > > > > > 'MySquadLeader' : global functions do not have 'this' pointers > > > > > C:\SIERRA\Half-Life\SourceCode\dlls\squadmonster.h(123) : error > >C2673: > > > > > 'MySquadMember' : global functions do not have 'this' pointers > > > > > C:\SIERRA\Half-Life\SourceCode\dlls\squadmonster.h(125) : error > >C2065: > > > > > 'm_hSquadMember' : undeclared identifier > > > > > C:\SIERRA\Half-Life\SourceCode\dlls\squadmonster.h(125) : error > >C2109: > > > > > subscript requires array or pointer type > > > > > C:\SIERRA\Half-Life\SourceCode\dlls\squadmonster.h(128) : error > >C2673: > > > > > 'IsLeader' : global functions do not have 'this' pointers > > > > > C:\SIERRA\Half-Life\SourceCode\dlls\squadmonster.h(143) : error > >C2575: > > > > > 'MySquadMonsterPointer' : only member functions and bases can be > > > >virtual > > > > > C:\SIERRA\Half-Life\SourceCode\dlls\squadmonster.h(143) : error > >C2673: > > > > > 'MySquadMonsterPointer' : global functions do not have 'this' > >pointers > > > > > C:\SIERRA\Half-Life\SourceCode\dlls\squadmonster.h(145) : error > >C2133: > > > > > 'm_SaveData' : unknown size > > > > > C:\SIERRA\Half-Life\SourceCode\dlls\squadmonster.h(154) : error > >C2143: > > > > > syntax error : missing ';' before '}' > > > > > C:\SIERRA\Half-Life\SourceCode\dlls\squadmonster.h(154) : error > >C2143: > > > > > syntax error : missing ';' before '}' > > > > > C:\SIERRA\Half-Life\SourceCode\dlls\squadmonster.h(154) : error > >C2143: > > > > > syntax error : missing ';' before '}' > > > > > C:\SIERRA\Half-Life\SourceCode\dlls\talkmonster.h(63) : error > C2371: > > > > > 'TLK_CGROUPS' : redefinition; different basic types > > > > > C:\SIERRA\Half-Life\SourceCode\dlls\talkmonster.h(164) : error > >C2057: > > > > > expected constant expression > > > > > C:\SIERRA\Half-Life\SourceCode\dlls\talkmonster.h(164) : warning > > > >C4200: > > > > > nonstandard extension used : zero-sized array in struct/union > > > > > C:\SIERRA\Half-Life\SourceCode\dlls\talkmonster.h(165) : error > >C2229: > > > > > class > > > > > 'CTalkMonster' has an illegal zero-sized array > > > > > Error executing cl.exe. > > > > > > > > > > > > > > > n e 1 no how i can fix it? cuz i don't have a clue > > > > > > > > > > > > > > > >From: Reedbeta <[EMAIL PROTECTED]> > > > > > >Reply-To: [EMAIL PROTECTED] > > > > > >To: [EMAIL PROTECTED] > > > > > >Subject: Re: [hlcoders] hgrunt code > > > > > >Date: Tue, 19 Feb 2002 16:45:47 -0800 (PST) > > > > > > > > > > > > >You could also merge the CTalkMonster follow code into the > > > > > CSquadMonster > > > > > >code. > > > > > > > > > > > >Two words: multiple....inheritance! MUAHAHAHAHAHAH! It's evil! > > > > > > > > > > > >--Reedbeta > > > > > > > > > > > > > > > > > >__________________________________________________ > > > > > >Do You Yahoo!? > > > > > >Yahoo! Sports - Coverage of the 2002 Olympic Games > > > > > >http://sports.yahoo.com > > > > > >_______________________________________________ > > > > > >To unsubscribe, edit your list preferences, or view the list > > > >archives, > > > > > >please visit: > > > > > >http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _________________________________________________________________ > > > > > Get your FREE download of MSN Explorer at > > > > > http://explorer.msn.com/intl.asp. > > > > > > > > > > _______________________________________________ > > > > > To unsubscribe, edit your list preferences, or view the list > >archives, > > > > > please visit: > > > > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > > > > > >_________________________________________________________ > > > >Do You Yahoo!? > > > >Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > > >_______________________________________________ > > > >To unsubscribe, edit your list preferences, or view the list > archives, > > > >please visit: > > > >http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > > > > > > > > > > > > > _________________________________________________________________ > > > Send and receive Hotmail on your mobile device: http://mobile.msn.com > > > > > > _______________________________________________ > > > 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 > > > > > > > _________________________________________________________________ > Chat with friends online, try MSN Messenger: http://messenger.msn.com > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

