Frictional Games Forum (read-only)
keep monster from despawining - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: keep monster from despawining (/thread-25073.html)

Pages: 1 2


RE: keep monster from despawining - lothabread - 04-14-2014

i have checked the names and the folders, and they all seem to be correct


RE: keep monster from despawining - Romulator - 04-14-2014

void doorbreak has way too many things after it, and well, are wrong Tongue

This should work out a little bit nicer Smile

PHP Code:
void doorbreak(string &in asParentstring &in asChildint alState)
 {
 
PlaySoundAtEntity("""15_ripp_door.snt""Player"0false);
 } 

Edit: valetheimpaler said this before, so give credit of that to him if it works Tongue


RE: keep monster from despawining - lothabread - 04-14-2014

thank you everybody for the help Big Grin the sound is now playing and the monsters stay spawned when returning to the map i appreciate it ^^