Development Forum |
|
| Mad Scientist
clohse
|
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 |
Mad Scientist
clohse
|
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 |
|