Talk:Player and NPC Cloak

From Valve Developer Community
Jump to navigation Jump to search

Feel free to list any improvements I should make. This is, after all, my first tutorial, so there's likely some things I could polish. Chainmanner 04:28, 30 August 2014 (UTC)

CBaseCombatCharacter constructor and destructor

Where is the constructor and destructor in the code, there are that many occurrences of CBaseCombatCharacter in the script, and since you didn't specify a line number OR a specific search word, it is near impossible to find

Never mind, it is on line 715 under "CBaseCombatCharacter::CBaseCombatCharacter( void )" Just CTRL+F the quotation to find the segment

OK, now there is an error with any lines containing pEnemy and relation as they have no definitions. This is genuinely in need of an improvement

The modifications involving pEnemy are in ai_basenpc.cpp. They should be defined in the mentioned functions. Chainmanner (talk) 20:42, 10 June 2016 (UTC)