Frictional Games Forum (read-only)
[SCRIPT] Slime - 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] Slime (/thread-52173.html)



Slime - goodcap - 08-05-2016

How do I make Slime dissappear like the first quest in the original game in the entrance hall?


RE: Slime - A.M Team - 08-05-2016

PHP Code:
AddUseItemCallback("""YourPotItem""TheSlimeEntity""slime"bool abAutoDestroy);

void slime(string &in asItemstring &in asEntity)
{
SetPropActiveAndFade("slime1"bool abActivefloat afFadeTime);


You can put anything else in the callback like sounds and particles but that is the basic jist of it. Wink


RE: Slime - Romulator - 08-05-2016

It doesn't even have to be a pot. You could make it so you throw a sledgehammer at it and it breaks.