SphereCommunity
How to properly kill player's mount ? 0_o - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: How to properly kill player's mount ? 0_o (/Thread-How-to-properly-kill-player-s-mount-0-o)



How to properly kill player's mount ? 0_o - WRWR - 04-29-2012 05:14 PM

in event of player
Code:
ON=@DISMOUNT
ARGO.KILL

so, if i mount on new one my old llama is died but also he staying like alive with 0 hits about a minute Smile

how to fix it?


RE: How to properly kill player's mount ? 0_o - Khaos - 04-29-2012 05:18 PM

Whoa that is odd. So you are killing the mount on dismount and he still staying alive? Test this workaround and let me know the results:

Code:
on=@dismount
argo.kill
update

if that doesn't solve the issue...

Code:
on=@dismount
argo.hitpoints=0
update

test with argo.update as well.


RE: How to properly kill player's mount ? 0_o - WRWR - 04-29-2012 05:22 PM

im trying it... not work
[Image: J0uX4hF0i3g.jpg]

Looks like @mount problem if you killed mount when @dismount before...
need to properly overwrite @mount
maybe need to clear any memory on char or mount?


RE: How to properly kill player's mount ? 0_o - Khaos - 04-29-2012 06:33 PM

Run a check on the mount and make sure it does not have flag statf_ridden still on it WRWR.