Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by congwang0517

At external dom ,i define a function,and want to use this function trigger a entity's function.
I just can call the ig.game.test(); but I don't know how to call the entity's.
Thanks.

1 decade ago by dominic

You can access other entities through the Game's .getEntityByName() or .getEntitiesByType() methods.
Page 1 of 1
« first « previous next › last »