BrendonLeCount Posted February 22, 2010 Share Posted February 22, 2010 The flags for determining if Magnitude, Area, and Duration are included in a base effect are available with the Script base effect archetype, just like they are for all the other archetypes. Does anybody know if their values are accessible by the script? Something like sMagnitude, fDuration, and fArea? I haven't seen any mention of them. Link to comment Share on other sites More sharing options...
Cipscis Posted February 22, 2010 Share Posted February 22, 2010 Those parameters are specified in the ingestible, object or actor effect - not the base effect. These are parameters of an effect item, just like a base effect. In order to access these parameters, you'll need some method of finding the relevant ingestible, object or actor effect and the relevant effect item, just like how you need to specify a certain reference to a base form when using reference function in scripts, rather than acting on the base form itself. OBSE has functions that allow these parameters to be accessed via a script, but they are not currently available via FOSE. Cipscis Link to comment Share on other sites More sharing options...
BrendonLeCount Posted February 22, 2010 Author Share Posted February 22, 2010 Nevermind. From the looks of it, script type base effects have scripts as their objects, so the script itself is something completely unrelated, and could be called by other scripts or the console, which would cause an error if the effect script was trying to access a base effect's values. Very not object oriented. *edit* Oh, thanks Cipscis, your response showed up right after I posted mine. Link to comment Share on other sites More sharing options...
Recommended Posts