Page 1 of 1

Herding Staff without skillcheck

Posted: Wed May 02, 2007 2:42 pm
by Crustspikes
Sorry to bother you all again.

I'm wiling to make some kind of "herding staff", wich should allow the player to move any tameable (but not necessarily tamed) npc.

From where should i start?

Thanks again.

EDIT: In this shard i play, there's no herding skill. That's why i'm trying to make some kind of replacement, a herding staff that you could only use if your character is GM Animal Taming. I have no trouble with the script that checks it. The problem comes when i try to use the staff it to move an npc.
I've copied the herd.src code, and removed it's skill and difficulty checks, but that doesn't work.

Posted: Wed May 02, 2007 5:28 pm
by tekproxy
I was going to suggest using the herding code from 095, like you're doing now. The solution can be more easily found by adding lots of debug statements and closely examining the code. Post the code you have that's not working, along with exactly how it doesn't work.

Posted: Wed May 02, 2007 5:41 pm
by OldnGrey
I basically used the code from 095 distro too and it works fine for me.
My big change was to not change the npc.script, I just send an event to them to walkto the location.