Frictional Games Forum
[SCRIPT] Naming combined items? - Printable Version

+- Frictional Games Forum (
+-- Forum: Amnesia: The Dark Descent (
+--- Forum: Custom Stories, TCs & Mods - Development (
+---- Forum: Development Support (
+---- Thread: [SCRIPT] Naming combined items? (/thread-14438.html)

Naming combined items? - zombiehacker595 - 04-02-2012

so i combined glass jar with acid got a jar of acid but because it is combined i couldnt really add text entry in hpl editor so how do i add a name and desc to a combined item? Smile

RE: Naming combined items? - i3670 - 04-02-2012

I believe it works like this:

GiveItem(string& asName, string& asType, string& asSubTypeName, string& asImageName, float afAmount);
I think it is the "string& asSubTypeName" if you can trust the wiki