Lantern - amount of oil? - 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: Lantern - amount of oil? (/thread-21119.html) |
Lantern - amount of oil? - thestormcrow - 04-10-2013 undefined RE: Lantern - amount of oil? - Romulator - 04-11-2013 Assuming that this is a question... Well, the amount that you have in your lantern is defined in the Debug Menu as Oil, which value is between 0 (empty) and 100 (full). The various oil drums and containers which can be found restore depending on their sizes. You can set, add or get the amount of oil in a lantern with these codes: Code: void SetPlayerLampOil(float afOil); |