Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Another solution (quite complicated but thanks to Nate the Bard is the following:

for (index =0; index<target.traits.length; index++){ if (target.traits[index].code == 11 && target.traits[index].dataId == (id of the element in database) && target.traits[index].value > 1) { do stuff, like call another common event, or flip a switch to trigger other effects}}