Quake randomization bounds?

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Quake randomization bounds?

Post by lizardkid »

just how many things will Quake randomize for you? in sounds if you have 6 sounds named this then Quake randomly chooses between them, if i tell and AI to shoot at a script_origin named fireSpot and i have 10 of them ($fireSpot1-$fireSpot10) will he shoot at a random one?
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

I don't think he will pick one at random but you can create the statement in such a way that that can be done . He might just default to shooting a 0 0 0 or it may not work at all . Testing is the only way to know for sure but I think just changeing the way the statement is written is the easiest way .
Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

P.S. what's got Quake to do with it? :P
Image
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

I thought that was Quake 3's fault :P

Yes i think it works, i don't need it now but when i used it it looked like it worked.
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
Post Reply