For WME related articles and tutorials visit WME Resource Center.
method LoadEntity(Filename){ Game.LOG("loadentity, game"); var result; result = this.LoadEntity(Filename); result.AttachScript("scripts\entity.script"); return result;}
Or is there an easier way to attach a script file to all entities?
But I didn't get a LOG entry.Whats wrong?