[SOLVED] Accessing members of another Entity

Here you trying to access the property of the entity rather than the script instance of Script2.

It would be this.otherEntity.script.script2.printCount

This post may help to grok how entities are structured: How to refer to different parts of the API while scripting - #4 by yaustar

1 Like