Development Forum |
|
|
Lone--Wanderer
|
7/24/2008 | |
So, I've decided to try my hand at making agents. This script is a base for potions, so, ignoring the incomplete image file line, would it work?
inst
new: 2 25 1000 "imgfilename" number of images starting where 5000
attr 195
perm 60
bhvr 48
emit 2 .10
elas 10
fric 70
accg 3
scrp 2 11 1000 12
lock
sndc "drnk"
chem # .
chem # .
chem # .
pose 1
wait 20
endm
rscrenum 2 11 1000
kill targ
next |
The chem lines are for the things the potion would do, obviously, so they're blank as well. >.> |
AquaShee
|
7/24/2008 | |
Nope, wouldn't work. The eat and remove scrips have a wrong family, should be 25 instead of 11.
Other than the incompleteness you mentioned it should work I think. Only one way to find out.
The Community Scribble: make (y)our own metaroom! |
Lone--Wanderer
|
7/25/2008 | |
Oh, whoops. XD I'll change that. Well, good to know I didn't mess it up horribly; coding has never been my area of expertise. |
|