![]() |
Damaging door (in this case a cupboard door) - 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: Damaging door (in this case a cupboard door) (/thread-10669.html) |
Damaging door (in this case a cupboard door) - Gamemakingdude - 10-09-2011 How do i make it theres damage to the doors? Change their health or something? RE: Damaging door (in this case a cupboard door) - Tanshaydar - 10-09-2011 Well, I guess to start to check wiki might help: http://wiki.frictionalgames.com/hpl2/amnesia/script_functions void SetPropHealth(string& asName, float afHealth); void AddPropHealth(string& asName, float afHealth); float GetPropHealth(string& asName); |