PrettyMurky Posted April 7, 2010 Share Posted April 7, 2010 I need help randomising NPCs reactions for somthing, but with their reactions being constant for each NPC. One possible way I have thought of, would be using each NPCs formID. If it can be converted to decimal, then I could either take the sin of that value (for -1 to 1), or the modulus of if by some x (for 0 to x). So I need to know, is such a hex to decimal conversion readily possible? I've checked cs.elderscrolls.com and found nothing. Thanks in advance, Murky. Link to comment Share on other sites More sharing options...
Vagrant0 Posted April 8, 2010 Share Posted April 8, 2010 What sort of reactions? Using form IDs as integers is not a good idea, ever because of how unpredictable they can become. There are likely other ways to accomplish the same result. Link to comment Share on other sites More sharing options...
Recommended Posts