I'm getting a ''Mitchmatch types''' error on the code below. But both GetObjectByTag() and EffectSummonCreature() have the variable as a string? I'm at a loss, any suggestions on what would cause this?
string Pet;
if (GetHitDice(oPC) == 1) Pet = GetObjectByTag("gnomegardenwisp1"); //Getting error on this line
effect eEffect;eEffect = EffectSummonCreature(Pet);
Modifié par Buddywarrior, 26 mai 2013 - 12:16 .