creatures caves welcome, guest
downloads   gallery   dev   community   creatchi   forum   mycaves
bookmarks | search | post new topic
Development Forum
old
REPS and RAND   
Malkin

Malkin
Australia  
Manager


 visit Malkin's website: Malkin's page at CWiki
  4/19/2012

If I create multiple copies of an agent with the command REPS, and specify something in the creation script with RAND, will all of the created objects choose the same random thing, or will each created object choose the random factor independently of each other?

My TCR Norns
 
Liam

Liam


 visit Liam's website: Spellhold Studios
  4/19/2012  1

The code is repeated, not duplicated, so the random elements would be random. :)

- Liam / K'aeloree

Spellhold Studios, a Baldur's Gate II, Neverwinter Nights and Oblivion Modding Community

 
Malkin

Malkin

Manager


 visit Malkin's website: Malkin's page at CWiki
  4/23/2012

Thanks! :) I'm working on a toy agent that I'd like to make it pretend it's a few different things. Making it inject multiple copies and randomly choosing which cato it's pretending to be seemed like an easy way to achieve that. :)

My TCR Norns
 


downloads
cobs
adoptions
creaturelink
metarooms
breeds
 
gallery
art
wallpaper
screenshots
graphics
promos
sprites
dev
hack shack
script reservations
dev resources
active projects
dev forum
 
community
links
advice
chat
polls
resources
creatchi
 
forum
bookmarks
general
news
help
development
strangeo
survivor
mycaves
log in
register
lost pw
0 online
creatures caves is your #1 resource for the creatures artificial life game series: creatures, creatures 2, creatures 3, docking station, and the upcoming creatures family.

contact    help    privacy policy    terms & conditions    rules    donate    wiki