![]() |
Trigger an event if user has an item - 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 (https://www.frictionalgames.com/forum/forum-35.html) +--- Thread: Trigger an event if user has an item (/thread-6577.html) |
Trigger an event if user has an item - Linus Ă…gren - 02-13-2011 Okay, I've made an event that is supposed to happen if user has an item. My script looks like: Code: void CollideSwingCrown(string &in asParent, string &in asChild, int alState) And the item's name is OilContainer. The problem is that the event won't trigger if you have the item. What's wrong? RE: Trigger an event if user has an item - Acies - 02-16-2011 I think the IfHasItem is missing a "==true". |