Multiple Targets (418125)

Can I have multiple targets in one js script? What I am doing is haveing one js script access multple js scripts in a game. I want to access the health of the enemy which is in one js script and then scale a gui bar that is a gui texture. or can I access the gui bar with the gameobject.something Iam not 100% sure on how to do this.
Thanks

“target” is just what some scripts call the game object they want to focus on

you can have as many inputs into a JS script as you want

ie.

var gtexture : GUITexture;
var myScript : healthScript;
var cookie : OmNomNom

;

Ah thanks for making that clear for me, especialy the cookie one :slight_smile: