Quote:
Originally Posted by maximus_asinus
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(1, WIDTH_IN_PIXELS, HEIGHT_IN_PIXELS);
}
Should be able to get the basic gist out of the above code.