.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Digital Eel > Weird Worlds: Return to Infinite Space > Scenarios and Mods

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old November 11th, 2007, 04:37 PM

mantari mantari is offline
Private
 
Join Date: May 2007
Posts: 38
Thanks: 0
Thanked 1 Time in 1 Post
mantari is on a distinguished road
Default Re: Request: some randomness

Quote:
Phlagm said:
I noticed that there is some user accessable randomness in the game (such as fomax's failure to understand your request: "ITEM random life"), but I don't know if there is an option for a random integer generator.
Oh! You gave me an idea! You'd have to account for all your various lifeforms but, the flowchat would go something like this?

ITEM random life
If you haveitem (lifeform1) then set RND=1 and REMV lifeform1
If you haveitem (lifeform2) then set RND=2 and REMV lifeform2
If you haveitem (lifeform3) then set RND=3 and REMV lifeform3

Could that be done at the start of the game?

Basically, you give the player a random lifeform, and depending on which one it is, you set a random number, and then remove that lifeform?
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 05:42 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.