View Single Post
  #13  
Old 02-17-2009, 12:31 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by maximus_asinus View Post
Okay in my example I have a path that is normally blocked unless Player A shoots an NPC with an arrow. It would be nice for Player A and B to see the changes if they're in the level when the NPC is shot, but if Player C enters he would not see this newly made path. Is such a result possible?
It would probably be better to use images for what you want, or even invisible NPCs, that, when shot, stop blocking for x time.

PHP Code:
function onActionProjectile() {
  
dontblock();
  
scheduleevent(3"Block""");
}
function 
onBlock() {
  
blockagain();
}
//#CLIENTSIDE
function onCreated() {
  
setshape(1WIDTH_IN_PIXELSHEIGHT_IN_PIXELS);

Should be able to get the basic gist out of the above code.
__________________
Reply With Quote