Code center > Suggestions

kill all ... options

(1/2) > >>

Welwordion:
It would be nice to have options that would allow to kill all robots that fullfill a certain condition.
For example an option:
 kill all bots that are (cycles now- cycles at activation)/1000 rounded down generation, which would kill the old generations starting from 0 and progressing to the next generation after 1000 cycles.

Henk:
Those kind of things will be possible with improved scripts; see this topic

I'd really like that scriptsystem to come as it would greatly increase DB's ease-of-use, especially in evo-sims.

Numsgil:
I've been thinking a little about scripts recently.  I think the best solution is to create a new programming language that's somewhat similar to the ones the bots use, and have "System sysvars".  So a script might look like:

cond
*.Simcycles 100000 =
start
Simgravity inc
stop

or something like that.  I dunno, just a thought.

Henk:
Yeah that'd be great!  

A simulation with it's own DNA that regulates itself, that'd be SO cool  

EricL:
FYI, you can use the new age cost in 2.42.2 to kill bots that reach a certain age in cycles by specifying a huge cost that doesn't kick in until you want it to...  Not exactly what you want, but works today...

Navigation

[0] Message Index

[#] Next page

Go to full version