PropHealth problem - 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: PropHealth problem (/thread-14576.html) |
PropHealth problem - Quotentote - 04-07-2012 hi want that a plate breaks when the player enters an area: so heres the script PHP Code: void OnStart() why wont this work RE: PropHealth problem - Strembitsky - 04-07-2012 Are you sure that the function is even being called? Try inserting a debug message. If it is being called, attempt to change 0.0f to 0.1f. I may be talking out of my ass here though as I have not yet dealt with SetPropHealth RE: PropHealth problem - Homicide13 - 04-07-2012 void opendoor(string &in asParent, string &in asChild, int alState) try that make sure you're getting the parameters right for functions alled by a callback function. The required perimeters should be listed in the description of the callback function (as found here). RE: PropHealth problem - Quotentote - 04-07-2012 works... maaan im too dumb ;3 i will never know when i have to use what kind of synthax T_T' anyways, thank you bot (100th post \o/) |