Magnusen2 Posted January 22, 2021 Share Posted January 22, 2021 (edited) i'm trying to make my script pull a random form from a formlist filled with NPC and creature ids: int RandomResult ref CurRef set RandomResult to Rand 0, 42 set CurRef to ListGetNthForm xxxEWRandomSpawnFormlist RandomResult placeatme CurRef A0ZombieController.SpawnRandomproblem is that nothing spawns from that. And the problem is not with SpawnRandom nor RandomResult since i added a number manually to that and still didn't get anything out of it. Also, the form inside are valid and spawn since i tested all of them. Edited January 22, 2021 by Magnusen2 Link to comment Share on other sites More sharing options...
Magnusen2 Posted January 23, 2021 Author Share Posted January 23, 2021 Nevermind. It was actually a problem with endifs :ermm: Link to comment Share on other sites More sharing options...
Recommended Posts