creatures caves
welcome, guest 

downloads   gallery   dev   community   creatchi   forum   mycaves
bookmarks | search | post new topic
 
Development Forum
old
SEZZ Fail   
savannahs11

savannahs11
United States  

 visit savannahs11's website: Dragon Station
  10/3/2017

More agent questions. The pile is probably going to keep getting taller and taller as I build this thing. The seed no longer throws errors when there's a "safe" place that isn't actually safe. Everything works magnificently. The only problem is that when it tries to transform in an unsafe location, it's supposed to say something, but it's not saying it.

Here's the code, even if some strange feeling inside me says it might be an unreadable mess.

*When activated by the Hand in seed form, check to transform with a dummy agent. If you can transform, do it.
scrp 3 3 14893 1
doif pose eq 9
inst
setv va00 -237
setv va01 -332
addv va00 posl
addv va01 post
new: simp 5 1 14893 "nichelingmother" 1 0 0
rtar 5 1 14893
mvto 1 1
doif tmvt va00 va01 eq 1
enum 5 1 14893
kill targ
next
targ ownr
mvby -237 -332
pose 0
attr 192
else
kill targ
targ ownr
sezz "This is not a safe location!"
endi
endi
endm


Somewhere, inhuman screeching can be heard.
 
Malkin

Malkin
Australia  
Manager


 visit Malkin's website: Malkin's page at CWiki
  10/4/2017

Isn't it getting killed? What happens instead of the SEZZ?

My TCR Norns
 
savannahs11

savannahs11
United States  

 visit savannahs11's website: Dragon Station
  10/4/2017

It's not supposed to get killed, and it doesn't. It just doesn't say anything. The only thing that's supposed to get killed is the dummy agent.

Somewhere, inhuman screeching can be heard.
 
Zzzzoot

Zzzzoot
United States  


  10/4/2017  1

I assume you're wanting a speech bubble. It looks like Docking Station (maybe C3 too, I haven't looked at it) has an agent that handles speech bubbles. It's in "DS speech bubble factory.cos"

This is a snippet from "training dummy.cos" that looks like it uses the factory to make its speech bubbles:

rtar 1 2 10
doif targ ne null
mesg wrt+ targ 126 "message here" ownr 0
endi


That should work for you.

I'm honestly not sure how SEZZ is supposed to work exactly. But "reminder_to_purchase.cos" uses it if you wanna look into that.

 
Malkin

Malkin
Australia  
Manager


 visit Malkin's website: Malkin's page at CWiki
  10/4/2017

I think you have to set the voice type first?

My TCR Norns
 
Papriko
Peppery One

Papriko
Germany  


  10/4/2017

You have to set the voice type first indeed, however, SEZZ only generates the vocal audio. Zzzzoot is right, for a visual speech bubble, you have to mesg wrt+ the speech bubble factory.

Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis...
 
Grendel_Man
Sanely Insane

Grendel_Man
United States  
Manager


 visit Grendel_Man's website: The Realm
  10/4/2017

I think SEZZ will generate a speech bubble as well if the agent in question has a voice set. It's just that by default only creatures and the Learning Room computer have a voice set.

Zzzoot's suggestion sounds better for what you're trying to do here than giving a voice and using SEZZ (I'd recommend only doing that for agents that talk a lot as part of their basic functioning, and here it just seems you're error-checking).

On a side note: You've been making a lot of topics lately. If you're planning on having lots of questions about the same agent, have you considered just making a single topic for that agent and asking all your questions there? :)


Note: The underscore in my username is supposed to be a space - it's "Grendel Man," not "Grendel_Man."
~ The Realm ~
Grendel Man's Creatures Blog


 
savannahs11

savannahs11
United States  

 visit savannahs11's website: Dragon Station
  10/4/2017

That worked.

EDIT: Grendel_Man, I'll do that.


Somewhere, inhuman screeching can be heard.
 


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