Thread: Dead Players
View Single Post
  #8  
Old 07-21-2013, 05:20 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by xAndrewx View Post
Does that work @ Dusty?


Script help for 'isblocking':
TServerNPC.isblocking - boolean
TServerNPC.isblockingprojectiles - boolean
It should, it's one of those undocumented v6 things:
http://forums.graalonline.com/forums...postcount=1635

But it's clientside only, so you basically either have to loop through all the players clientside and change their blocking status, or use a function(like onPlayerChanges).

However onPlayerChanges() is only called when the player's head changes, or they enter the screen buffer. I'm trying to get Stefan to add onPlayerTouchsPlayer(playerobj) so there's a more reliable way of updating a player's blocking status.
Reply With Quote