Jump to content

Random Face Script Help


Phrozin

Recommended Posts

I had made a script to randomize faces of a few NPCs. I also made a form list of the preset face NPCs, "0PresetMenList". I added the script to a few NPCs. I'm probably missing something obvious.

Quote

scn RandomCultistFaceScript

float fCultistNumber
float amazingRando
ref randomCultistFace

Begin onLoad

    if amazingRando == 0    

        set fCultistNumber to Rand 0, 39

        let randomCultistFace := ListGetNthForm 0PresetMenList fCultistNumber

        MatchFaceGeometry randomCultistFace 100

        set AmazingRando to 1

    endif

end

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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