Random spawn

Post » Wed Nov 27, 2013 10:00 am

Hi, I'm doing a vampire mod, and I need help:
If the player is a vampire, I need to randomly spawn some vampire hunters in the same cell as the player, and they will try to kill him/her. Since this spawn must be totally random, I need to do it with scripts.

Now, I know how to spawn the actors with scripts, but I don't know how to make them spawn in a random point in the current cell (I don't want to spawn them in front of the player, neither spawn them where there's no floor!!).
Can you help me?
User avatar
Aman Bhattal
 
Posts: 3424
Joined: Sun Dec 17, 2006 12:01 am

Return to IV - Oblivion