creatures caves welcome, guest
downloads   gallery   dev   community   creatchi   forum   mycaves
bookmarks | search | post new topic
Development Forum
old
reinjecting the bramboo   
clohse
Mad Scientist

clohse
United States  

 visit clohse's website: Clohse's page at the CWiki
  6/20/2008

I am trying to make a reversible change to the bramboo. The last part I need is to get he regular bramboo re-established. I just thought I could add "ject bramboo.cos 7" to the end of my remove script, but I'm getting the following error from the caos tool:
"Line 1264: String r-value expected, got 'bramboo.cos'
"

What in the world does this mean?

Edit: Nevermind... I think I solved the problem by saving the filename into a string variable and using that instead of the name itself.


CLohse's Norns at the Creatures Repository
 
clohse
Mad Scientist

clohse
United States  

 visit clohse's website: Clohse's page at the CWiki
  6/29/2008

I am still having trouble with this stupid remove script. The really odd thing is that when I inject and remove it using the Caos Tool everything works swimmingly, but when I try to use it as a compiled agent, the remove script doesn't reinject the original files like it's supposed to.

Can someone take a peek and maybe figure out what's going on here?

rscr
sets va42 "tuba.cos"
sets va43 "bramboo.cos"
enum 1 1 162
kill targ
next
enum 2 3 16105
kill targ
next
enum 2 11 16116
kill targ
next
enum 2 10 51
kill targ
next
enum 2 4 16114
kill targ
next
enum 2 8 16110
kill targ
next
enum 2 7 16105
kill targ
next
ject va42 6
ject va43 6


CLohse's Norns at the Creatures Repository
 


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