![]() |
Odd issue with my potion drinking EVENT. - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: Odd issue with my potion drinking EVENT. (/Thread-Odd-issue-with-my-potion-drinking-EVENT) Pages: 1 2 |
RE: Odd issue with my potion drinking EVENT. - Extreme - 09-20-2012 07:52 AM TRYSRC <UID of who you want to become the SRC> ARGS Args will be called on UID, and in args UID will be the SRC Example: TRYSRC <YOUR NPC UID> FINDID.I_POTION_HEAL_MINOR.USEITEM So, in @DCLICK, your npc who is drinking the potion will be the SRC and it should work. PHP Code: [EVENTS E_AI_POTION_DRINKER] RE: Odd issue with my potion drinking EVENT. - Rayvolution - 09-20-2012 08:30 AM HA! TRYSRC <UID> FINDID.I_POTION_HEAL_MINOR.USEITEM worked. Thanks Extreme ![]() I had the order right, the syntax was wrong. RE: Odd issue with my potion drinking EVENT. - Extreme - 09-20-2012 08:38 AM Hehehe ![]() |