I expect it would go something like this, with the parts I don't know how to write out marked by **
Quote:
if (**the user selects Trick Shot**) then
hero.childfound[pwGSDisSht].field[spcMax].value += 1
elseif (**the user selects Violent Shot**) then
hero.childfound[pwGSViolSh].field[spcMax].value += 1
else (**the user selects Fan the Hammer**) then
hero.childfound[pwGSFtHam].field[spcMax].value +=1
endif
endif
|