Difference between revisions of "OnItemRemoved - ObjectReference"
m
→Examples: it should of course be akDestContainer, not akSourceContainer. Please take care when copying examples from other Wiki pages!
imported>Plplecuyer |
imported>Docclox m (→Examples: it should of course be akDestContainer, not akSourceContainer. Please take care when copying examples from other Wiki pages!) |
||
Line 22: | Line 22: | ||
if !akDestContainer | if !akDestContainer | ||
Debug.Trace("I dropped " + aiItemCount + "x " + akBaseItem + " into the world") | Debug.Trace("I dropped " + aiItemCount + "x " + akBaseItem + " into the world") | ||
elseif | elseif akDestContainer == Game.GetPlayer() | ||
Debug.Trace("I gave the player " + aiItemCount + "x " + akBaseItem) | Debug.Trace("I gave the player " + aiItemCount + "x " + akBaseItem) | ||
else | else |