PvSEntertainment LLC
Member
I am needing a simple script that I can attach to items that when the character collide, coin is removed from the currency owner.
I see your instructions:
// Remove Currency
ownerCurrencyCollection.RemoveCurrency(gold, 10);
ownerCurrencyCollection.RemoveCurrency(new CurrencyAmount[] { (10 ,silver), (10 ,gold)});
ownerCurrencyCollection.RemoveCurrency(otherCurrencyCollection);
However, I am not a coder and have no idea how to implement this into the enemies attacking my character.
Can you please direct me to an answer for this?
Or better yet, display a simple script i can attach to enemies that make them remove my characters coin?
Thank you in advance.
Trent
I see your instructions:
// Remove Currency
ownerCurrencyCollection.RemoveCurrency(gold, 10);
ownerCurrencyCollection.RemoveCurrency(new CurrencyAmount[] { (10 ,silver), (10 ,gold)});
ownerCurrencyCollection.RemoveCurrency(otherCurrencyCollection);
However, I am not a coder and have no idea how to implement this into the enemies attacking my character.
Can you please direct me to an answer for this?
Or better yet, display a simple script i can attach to enemies that make them remove my characters coin?
Thank you in advance.
Trent