Miccoatli Posted January 7, 2015 Posted January 7, 2015 I am working on a script which is spawning actors from an actorbase list at, on specific conditions which are unimportant, random (unique for them to work with certain mods etc. etc.). The thing I am currently working on (and got stuck on) is how to keep the actors unique. Is there a way to detect in papyrus script if the specific actorbase is already used in game? Or is there an even better way? PS: the only way I thought of so far was to create more actors to the list. But that is certainly not bulletproof
Miccoatli Posted January 8, 2015 Author Posted January 8, 2015 no hits? I am going through similar discussion on nexus and advice given: "Then make a variable for each actor that changes to 1 when they are summoned, and to 0 when they dissapear. If that variable is bigger than 1 then add a condition so that actor won't be summoned unless the variable is 0. Your script will be a lot bigger but it will work. OR you could check if the Actor you have summoned already exists, and set that as a condition instead of a random variable." any idea how to check if the actor is already summoned?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.