romeck Posted April 7, 2011 Share Posted April 7, 2011 if the creature 1 inherits after creature 2 and creature 2 inherits after creature 3 does creature 1 inherits after creature 3 ? in other words : if creatrue 3 has script "A" and creature 1 has script "C" and creature 2 script "B" and 1 hase 2 as template data and 2 has 3 as template data so do creatrues on has all script "A"B"C" or just "B" or just "C" . is it requier to check "Use script" in template data to inherits script from tamplate actor base ? how to add more than one script to creature ? Link to comment Share on other sites More sharing options...
Skevitj Posted April 7, 2011 Share Posted April 7, 2011 As far as I understand, only one script can be applied at a time, so a script on a template will be ignored unless checked to use on the form using the template (where the option to add a different script would be grey-ed out). You can run multiple scripts using abilities (actors only?) but the scripts can't talk to each other. if they're independent it's fine, obviously, however if you need the sections to talk to each other, you can either use global variables (if the creature is unique, multiple creatures of the same base will cause problems) or just have a unique script per base with each script including the relevant sections. Having a unique script per base object is more often than not the most sensible and neatest way to do it. Link to comment Share on other sites More sharing options...
Recommended Posts