Guards?

For questions relating to POL scripting (not necessarily related to WoD)

Moderators: Siobhan, Sebastian, Drocket

Guards?

Postby dw3rby on Fri Jan 02, 2004 8:20 pm

How would I make it that when guards kill
monsters(only), the body poofs, so people cant just lead monsters to guards and then loot them.
Thanks ahead of time.
dw3rby
Sr. Newbie
 
Posts: 20
Joined: Mon Dec 01, 2003 3:42 am

Postby Wynne on Sat Jan 03, 2004 12:19 am

With a special hitscript maybe. The guards currently use the default hitscript (somwhere in the pkg/combat section I think). There's bound to be a way to write a hitscript so that each time a guard connects with her halberd that it immediately kills the target and destroys its body. This, of course, should probably not be applied if the target is a player character, but if you're feeling especially evil, you might apply it to them too.

:twisted: I'm sure someone with a little more coding experience can give you some more specific advice, but I'm pretty sure that's a good place to start looking. :)
Wynne
 

Postby SDonald on Sat Jan 03, 2004 12:41 pm

I avoided the problem altogether!
I was getting so sick and tired of new players luring really tough monsters back to a guard.
I have it so that you can't lead a monster too far away from it's anchor point. If you do, it simply runs back there.
After doing it this way for about 2 months it's surprisingly effective. :)

Regards,
Stephen Donald.
SDonald
Regular Poster
 
Posts: 102
Joined: Fri Oct 11, 2002 7:47 am
Location: Australia

Postby Lyl on Sun Jan 04, 2004 12:06 am

I answered this before but a board moderator seems to have deleted the thread. :x
Lyl
Regular Poster
 
Posts: 109
Joined: Fri Oct 11, 2002 1:04 am


Return to Scripting Forum

Who is online

Users browsing this forum: No registered users and 1 guest

cron