-
Posts
6 -
Joined
-
Last visited
Nexus Mods Profile
About wizkid34
Profile Fields
-
Country
Italy
Recent Profile Visitors
256163 profile views
wizkid34's Achievements
-
@maxarturo thanks again, I'll try your modified script and I'll let you know if it works
-
I already done that part in my mod and it works flawlessly, what I need now is that the bottle returns in the invetory only when the player is drinking it, my old script works even if a beverage is drunk by an NPC
-
@maxaturo thanks alot for the reply, Is there a way to check if the player is drinking the beverage? It seems that my old script works with the npc too and this cause to receive extra empty bottles when, for example, an enemy drink a potion
-
Hi all, I need a little help with a simple script that returns empty bottles on player inventory after a beverage is used. The old script works but I get empty bottles even if an npc is drinking. this is the old script Scriptname Returnemptybottles extends activemagiceffect MiscObject Property EmptyBottle Auto Event OnEffectStart(Actor akTarget, Actor akCaster) Game.GetPlayer().AddItem(EmptyBottle, 1)EndEvent can anyone tell me if this would work? Scriptname Returnemptybottles extends activemagiceffect MiscObject Property EmptyBottle Auto Event OnEffectStart(Actor akTarget, Actor akCaster) if (Game.GetPlayer() == akCaster) Game.GetPlayer().AddItem(EmptyBottle, 1) endifEndEvent thanks in advance for the reply