Herding Staff without skillcheck

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
Crustspikes
New User
Posts: 3
Joined: Tue May 01, 2007 6:30 pm

Herding Staff without skillcheck

Post 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.
User avatar
tekproxy
Forum Regular
Posts: 352
Joined: Thu Apr 06, 2006 5:11 pm

Post 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.
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Post 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.
Post Reply