creatures caves welcome, guest
downloads   gallery   dev   community   creatchi   forum   mycaves
bookmarks | search | post new topic
Development Forum
old
Safe location?   
Malkin

Malkin
Australia  
Manager


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

I'd like to make a piece of code, that when put in an install script, tries to install first in the C3 norn meso, then if that's not available, the grendel jungle, then if *that's* not available, the ettin desert, then if *that's* not available, the aquatic terrarium, and then if that's not available, the bottom of the DS meso.

Is my syntax correct, or will this throw far too many errors at me?


setv va00 rand 1200 1600
setv va01 300
doif tmvt va00 va01 eq 1
mvto va00 va01
else
setv va00 rand 1500 1700
setv va01 2000
doif tmvt va00 va01 eq 1
mvto va00 va01
else
setv va00 rand 5200 5400
setv va01 450
doif tmvt va00 va01 eq 1
mvto va00 va01
else
setv va00 rand 4700 4900
setv va01 1900
doif tmvt va00 va01 eq 1
mvto va00 va01
else
mvsf rand 748 1550 9547
endi


My TCR Norns
 
Annex

Annex



  4/5/2012

With the addition of three ENDI tags on the end, I don't see why this wouldn't work. Although I think MVSF may only work on creatures, though I may be wrong.

(This is assuming all your coordinates are valid, I didn't check them!)

 
Malkin

Malkin

Manager


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

Thanks! It's working perfectly with the additional ENDIs! :)

My TCR Norns
 
Geek2Nurse

Geek2Nurse


 visit Geek2Nurse's website: Adventures in Nornia
  4/5/2012

MVSF *seems* to work with other types of agents, although as a rank beginner I could be deluding myself. I can say with certainty, though, that it doesn't *complain* about being used with non-creature agents. ;)

---
Optimist: the glass is half full.
Pessimist: the glass is half empty.
Engineer: the glass is twice as big as it needs to be.

 
Horstj

Horstj



  4/8/2012

As far as I know MVSF workes with anything (well not sure about creatures), but can result in the agent being moved far away from the intended location.
 


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