I'm trying to remove a quest item from the player, when the quest is finished. But "RemoveItem()" doesn't work together with "ReferenceAlias".
Here's what I did:
-Set up the Alias properly.
-Made an ReferenceAlias property in my script.
-Attached it to the Alias.
-Added this code:
ReferenceAlias Property HT_AliasRecipe AutoFunction QuestComplete() Game.GetPlayer().RemoveItem(HT_AliasRecipe, 1)EndFunction
But it fails to compile, saying: "type mismatch on parameter 1 (did you forget a cast?)"

