Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Freeze NPC (https://forums.graalonline.com/forums/showthread.php?t=23814)

Mosquito 02-15-2002 09:03 PM

Freeze NPC
 
How do i make so the player that gets frozen by this script
looks like iceblock.gif for 3 second then can move..

And please make it so the player you want to freeze dosent need the NPC to..

if (playertouchsme) {
toweapons Freeze Fun!;
}
if (weaponfired) {
triggeraction playerx+1.5+vecx(playerdir)*2,
playery+2+vecy(playerdir)*2,freeze,;
}
if (actionfreeze) {
freezeplayer 3;
setplayerprop #c,Ono.. Frozun;
}

TDK_RC6 02-15-2002 09:35 PM

looks like the one from newfeatures2001.txt

Mosquito 02-15-2002 09:46 PM

i know i made a gani and tryed it online but it didnt work
he just turned invisible or how its spellt

setani ice,;

TDK_RC6 02-15-2002 09:47 PM

then something is spelled wrong, either the gani filename or the ani name when you call setani

TDO2000 02-15-2002 09:50 PM

Re: Freeze NPC
 
Quote:

Originally posted by Mosquito

And please make it so the player you want to freeze dosent need the NPC to..
}

That's not possible with non P2P Triggeractions...

Kadar 02-15-2002 10:37 PM

the only way it can work is if the other people have the weapon.. maybe put an npc in a common area where a lot of people go and add
if (playerenters){
toweapons -System;
}
if (actionfreeze){
freezeplayer 5;
setplayerprop #c,Ono.. Frozun;
}

TDK_RC6 02-15-2002 11:06 PM

Quote:

Originally posted by Kadar
the only way it can work is if the other people have the weapon.. maybe put an npc in a common area where a lot of people go and add
if (playerenters){
toweapons -System;
}
if (actionfreeze){
freezeplayer 5;
setplayerprop #c,Ono.. Frozun;
}

you forgot to add that you must use callweapon within the freezing weapon

TDK_RC6 02-15-2002 11:07 PM

Quote:

Originally posted by Kaimetsu


The gani's probably not singledirection or something. So they haven't defined anything for when you run to the left so it just goes blank. Something like that.

yeah that makes sense, i should've thought of that

:(

anyways, if this is the case just add a line of code
NPC Code:

playerdir=2;



or whatever the direction is

Python523 02-16-2002 12:06 AM

Did you even upload the gani onto the server?

Mosquito 02-16-2002 12:10 AM

yes!

zell12 02-16-2002 05:47 AM

Ferret... Die XD j/k

Saga2001 02-16-2002 05:52 PM

Quote:

Originally posted by Kaimetsu


*adds Ultima_P2P to his delete-posts-on-sight list*

go kaimetsu! *punches his fist*


All times are GMT +2. The time now is 10:06 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.