| I actually managed to get this thing into the world. It's not doing much, though. It's just kind of bouncing around in the creator room. I haven't coded it yet. It's supposed to try to eat your Norns and possibly be able to operate the Elevines. |
|
|
If you post your death script in your thread, someone will help you. It's hard to guess what's going wrong with it otherwise. Also this should make the hand able to hit your beast if shift is pressed (if you don't want the shift part, remove "and keyd 16 = 1" ) :
scrp (classifier here) 1
*do things if activated by the hand and shift is pressed
doif from = pntr and keyd 16 = 1
inst
*activates the hit script for your agent
mesg writ (your agent's classifier here) 3
*targets the hand to make it animate and play a noise
targ from
anim [4 5 5 0]
snde "spnk"
targ ownr
*if it wasn't activated by the hand, so something else
else
do something else
endi |
...In theory anyway. I haven't actually used mesg writ in an agent yet.
| |
|
I gave it some proper physics last night (several minutes of adjusting the install script and then throwing it off the top level of the Meso like a paper airplane) and got its hit script working. It flinches and plays a sound when hit by a creature, and it also drops to the ground. I'm pretty sure its energy gets taken away, but the death script is giving me some trouble, and I also can't figure out how to let the Hand hit it.
|
|