first thanks for the replay, i pretty much know i sure all what need to be added, adding to include the ctalkmonster in the includes since its the header that have the code needed it will change to : class CHAssassin : public CSquadMonster , public CTalkMonster and also i knew i need add to add that tasks and schedules by looking at barney and the scientist code i figured that out alone , i found one who asked how to make the human grunt to follow you here:
http://www.moddb.com/forum/thread/how-to-make-hgrunt-to-follow-you from there i knew about the public , public thing and i have a problem that is remain to do this i attempd to try this guys code first to have the human grunt followable he posted the code here
http://pastebin.com/Jq0EwWqL but the ambiguous case is the problem since the compiler can't know without indicate the function that is used from the CSquadMonster or the CTalkMonster so in the page bottom the anwser for this was the example:
* Starting Line 251 *void CHGrunt::DeclineFollowing( void )
{
PlaySentence( "HG_POK", 2, VOL_NORM, ATTN_NORM );
}
*Starting Line 251*void CHGrunt::DeclineFollowing( void )
{
CSquadMonster::PlaySentence( "HG_POK", 2, VOL_NORM, ATTN_NORM );
}
//Or
*Starting Line 251*void CHGrunt::DeclineFollowing( void )
{
CTalkMonster::PlaySentence( "HG_POK", 2, VOL_NORM, ATTN_NORM );
}
depends on which function is needed, in this case sure the ctalkmonster i copyed all the code change he did posted on pastbin and after this function separate fix to ge trid of the ambiguous case error there is still other ambiguous cases errors that i dont know and sure how to fix them i can show the errors here im sure this very likely to happen on the hassassin too, also last thing in ctalkmonster cpp any new friend that is follow able must to be add here right? // array of friend names
char *CTalkMonster::m_szFriends[TLK_CFRIENDS] =
{
"monster_barney",
"monster_scientist",
"monster_sitting_scientist",
};
i did add the grunt but there was a error when i did that i will edit this post soon to write it here