Let's suppose that i have five encounters in an area.
Every encounters counts 4 different creatures (hostile faction).
I would like a creature at random between those present in the econunters covers the role of the boss of the area.
I have already a function that takes care of changing the name and the size of the creature,but my problem is that I do not know when and how to execute it.
i was thinking to something like:
if(Random(10) > ()
{
ExecuteScript("custom_script" OBJECT_SELF) //script change name and size.
}
In OnSpawn(nw_c2_default9) of the creature
but doing this way I might have more bosses in one area, when i want just one boss for area.
I have already set the variables on the creatures but they serve for another system that I use: http://nwvault.ign.c...2#commentmarker
maybe they can be recycled? ...
Any idea?