View Single Post
  #6  
Old 06-20-2012, 07:49 PM
E_Man E_Man is offline
E-Man
E_Man's Avatar
Join Date: Jun 2012
Posts: 81
E_Man will become famous soon enough
Quote:
t was invoked on the player upon touching a primitive Ice Arrow NPC:

PHP Code:
if (playerenters) timeout = 0.05;
if (playertouchsme) {
if (playerdir==2) putleaps 5,x,y;
else {
set icefreeze;
putnpc wiceblock.gif,iceblock.txt,playerx-2/16,playery-7/16;
}
destroy;
}
if (timeout) {
timeout = 0.05;
y-=0.7;
if (y<2) destroy;
}
PHP Code:
if (playerenters) {
if (icefreeze) {
freezeplayer 3;
x = playerx-2/16;
y = playery-7/16;
unset icefreeze;
}
timeout = 3;
}
if (timeout) {
putleaps 5,x+1,y;
putleaps 5,x+1,y+2;
destroy;
}
What is iceblock.txt, actually I have seen lots of scripts refer back to a .txt. Is there somewhere where these are located?
Reply With Quote