creatures caves welcome, guest
downloads   gallery   dev   community   creatchi   forum   mycaves
bookmarks | search | post new topic
Development Forum
old
Problems With Floating   
savannahs11

savannahs11
United States  


  3/28/2018

So, I recently started working on my plant again, the one with the sticky seeds. Right now, I'm working on the functionality of the seeds that stick to the creature. They cling for a while, then fall off, and that's how they spread. The problem is when the creature is resting or something, and the seed drops while sitting on a solid room boundary. Its location becomes invalid, and it throws an error. I've been trying to use TMVT to see if it's in a safe location, and I'm even making it MVSF to a safe location, but both of those things are failing, and the seeds are still throwing errors. What should I do?

sleep is for the weak and i am weak
 
Papriko
Peppery One

Papriko
Germany  


  3/29/2018  1

If I recall correctly from my agent making days, TMVT and MVSF use the current physical properties as criterium wether or not a position is safe, i.e. if you are an insubstantial spectre that passes through walls, any position is "safe" to go to.
Maybe you could try out if the many position commands work on creatures. POSX and POSY are the X and Y coordinates of the agent's center respectively, but there is also POST, POSB, POSL and POSR for the top, bottom, left and right corners of an agent. They work pretty well for traditional agents, no idea how well they handle norns.
I guess one attempt you could make would be to teleport to a norn's POSX POST, so it is centered-ish and also at eye-height.

Just keep in mind that regardless what coordinates you use on the target, the teleported agent will try to go there with the top left corner.


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


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
1 online
Dragoler
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