Feilor Posted January 15, 2018 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 135 Reputation: 17 Joined: 12/31/11 Last Seen: January 11 Share Posted January 15, 2018 Hi! I'm trying to use random option in a NPC but i got some confused with the sample in rA doc folder. This give this exemple: setrandomoption(EQI_HAND_R,0,RDMOPT_WEAPON_ATTR_NOTHING + rand(10),0,0); does + rand(10) in option ID means that it will loop through ATTR options and rand the element? If yes, can it be used in all, like if i want to add race atributes the same can be done? Quote Link to comment Share on other sites More sharing options...
Question
Feilor
Hi! I'm trying to use random option in a NPC but i got some confused with the sample in rA doc folder.
This give this exemple:
does + rand(10) in option ID means that it will loop through ATTR options and rand the element? If yes, can it be used in all, like if i want to add race atributes the same can be done?
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.