Thread: Triggeraction
View Single Post
  #5  
Old 02-18-2002, 09:43 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
You can do it with showimgs, or with gani scripts.
Showimg will be laggy when displaying many
lights on many players, but will work everywhere.
You just have to do showimg index,image,x,y;
with index between 1 and 199.

Gani scripts are not laggy, but you will need
to make special ganis that hold the script
like lightswalk.gani, lightsidle.gani, and then
call replaceani idle,lightsidle; and replaceani
walk,lightswalk;
Inside the ganis add a script like this:

SCRIPT
if (playerenters || timeout) {
showimg 200,light2.png,playerx-2,playery-2;
changeimgcolors 200,1,1,1,0.99;
changeimgvis 200,3;
timeout = 0.05;
}
SCRIPTEND

Such ganiss are currently only allowed on servers with
npcserver (p2p servers).
Reply With Quote