small one
#1
Posted 07 September 2004 - 02:01 PM
I am slightly confused as to what you are trying to do here.
Yikari, monk NPC
Shed's Mods - Three time TeamBG Contest winner!
The Jerry Zinger Show
ShedPlant.net
#2
Posted 07 September 2004 - 02:13 PM
Yes, but the actions are depending on 2 different triggers. It's to create casting randomness in a mage script.
if this is what yr trying to do, you should check some of Horred's mage and creature script he wrote for Big Picture: they do precisely this. off the top of my head, the BPSHADOW.BCS includes a fair bit of random number generation. there's a version of this (which is why i can remember it) in the link in my sig, in the BP Nerfs pack on the site the link in the sig leads to.
"A simple test of the relative merits of science and religion is to compare lighting your house at night by prayer or electricity" - A. C. Grayling
"EFF files have saves, too." - CamDawg
|| this is radio seanas || BP Series v3 || seanas at work ||
#3
Posted 13 September 2004 - 02:33 AM
@seanas:I took a look at bpshadow.baf. Very good script. I noticed you (or hlid) use really odd numbers. I'll stick to percentages like (100,51).
Bottomline is: don't use the same number twice consecutively, or they'll just have an equal chance.
Edited by Topaz, 13 September 2004 - 02:33 AM.






