Jump to content

unable to get form from formlist


Magnusen2

Recommended Posts

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.SpawnRandom

problem 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 by Magnusen2
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...