MonsterInit()

From Valve Developer Community
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

MonsterInit() is a C++ function available for the CBaseMonster class in all GoldSrc GoldSrc games.

Description from 🖿monsters.cpp:

after a monster is spawned, it needs to be dropped into the world, checked for mobility problems, and put on the proper path, if any. This function does all of those things after the monster spawns. Any initialization that should take place for all monsters goes here.

External links