[SCRIPT] Is it possible to kill a grunt ? - 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: [SCRIPT] Is it possible to kill a grunt ? (/thread-19695.html) |
Is it possible to kill a grunt ? - Daemian - 12-27-2012 if not, what's the better way to simulate its death? like a sudden black screen followed by grunt pieces on the floor. any ideas? RE: Is it possible to kill a grunt ? - str4wberrypanic - 12-27-2012 You mean during the game or with a script? During the game you can't, but if you want to make a CS, you could make it vanish with smoke or set it unnactive and set the grunt body parts active in the ground, in pieces. RE: Is it possible to kill a grunt ? - FlawlessHappiness - 12-27-2012 Or search around the forum. There is a grunt-ragdoll somewhere. You can't spawn the ragdoll anywhere you want but you can simulate the death of a grunt to be at one place, and then you have to lure the grunt over there RE: Is it possible to kill a grunt ? - Tiero - 12-27-2012 void OnStart { AddEntityCollideCallback("BOX", "Grunt", "KillGrunt", true, 1); } void KillGrunt(string &in asParent, string &in asChild, int alState) { FadeEnemyToSmoke("Grunt", true); } // Here you throw the box in a grunt, and he "dies". For the beauty you can add sound, a simulated explosion or die and various particles. RE: Is it possible to kill a grunt ? - The chaser - 12-27-2012 In my story "The Chasing" Spoiler below!
|