creatures caves welcome, guest
downloads   gallery   dev   community   creatchi   forum   mycaves
bookmarks | search | post new topic
Development Forum
old
Mass Thought Reader Agent   
Lurhstaap

Lurhstaap
United States  

 visit Lurhstaap's website: Addicted To CAOS
  5/7/2017

I keep wishing I could use the CRC on more than one Norn at once. Would it be possible to create an agent that works like the CRC's 'thought reader' panel except that it displays one bar for each currently living Norn? It would be really useful for the kind of 'psychological' studying I like to do.

Conclude with killer catchphrase.
(Lurhstaap)
"This is not knowledge -
this is information!"
New Model Army, "Courage"

 
Papriko
Peppery One

Papriko



  5/8/2017

Of course it would be possible. I only used the NORN command (currently selected creature) because it was convenient. As long as it is a creature, you can read any TARG's mind. The only problem I see with your idea is that the screen could get kinda littered when you have too many creatures.
Here you go, good luck with it:
* this is my little pride: the mind reading script
scrp 1 1 22803 9
inst
sets va00 ""
doif norn <> null
targ norn
doif decn > 0
sets va00 read "Creature Actions" decn
else
sets va00 "<nothing>"
endi
adds va00 " "
doif catx attn <> ""
adds va00 catx attn
else
adds va00 "<nothing>"
endi
else
sets va00 "<No Creature Selected>"
endi
targ ownr
part 12
ptxt va00
part 0
slow
endm
When you have any questions, feel free to ask.
I believe I did a minor mistake, because DECN 0 is a valid action too, but it is not terribly bad because it was something like "rest", so they are essentially doing nothing anyway.

EDIT: Oh right, tabbing does not work. Sorry for that :\


Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis...
 
Lurhstaap

Lurhstaap


 visit Lurhstaap's website: Addicted To CAOS
  5/8/2017

! Oh wow, thanks! I'll have to give it a try today! Its use in high population worlds is definitely limited, but if it works right, it'll be a godsend for when I'm studying groups of 2-6. I was worried it might be a lagmonster, or something, but looks like it'll be okay. :D I'm really new to agenteering so this will probably take me a while to turn into a working anything, but I really appreciate your help! It's especially useful because I'll know its output is the same as the CRC's would have been.

Conclude with killer catchphrase.
(Lurhstaap)
"This is not knowledge -
this is information!"
New Model Army, "Courage"

 


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