Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-15-2002, 09:03 PM
Mosquito Mosquito is offline
Registered User
Join Date: Jan 2002
Posts: 141
Mosquito is on a distinguished road
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;
}
Reply With Quote
  #2  
Old 02-15-2002, 09:35 PM
TDK_RC6 TDK_RC6 is offline
Registered User
TDK_RC6's Avatar
Join Date: Jan 2002
Location: Earth
Posts: 0
TDK_RC6 is on a distinguished road
looks like the one from newfeatures2001.txt
__________________
Staff on Renegade


email: [email protected]
aim: papivicente
Reply With Quote
  #3  
Old 02-15-2002, 09:46 PM
Mosquito Mosquito is offline
Registered User
Join Date: Jan 2002
Posts: 141
Mosquito is on a distinguished road
i know i made a gani and tryed it online but it didnt work
he just turned invisible or how its spellt

setani ice,;
Reply With Quote
  #4  
Old 02-15-2002, 09:47 PM
TDK_RC6 TDK_RC6 is offline
Registered User
TDK_RC6's Avatar
Join Date: Jan 2002
Location: Earth
Posts: 0
TDK_RC6 is on a distinguished road
then something is spelled wrong, either the gani filename or the ani name when you call setani
__________________
Staff on Renegade


email: [email protected]
aim: papivicente
Reply With Quote
  #5  
Old 02-15-2002, 09:50 PM
TDO2000 TDO2000 is offline
Registered User
TDO2000's Avatar
Join Date: Jul 2001
Location: Germany
Posts: 655
TDO2000 is on a distinguished road
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...
__________________
No Webhost at the moment
Reply With Quote
  #6  
Old 02-15-2002, 10:37 PM
Kadar Kadar is offline
Registered User
Join Date: Jan 2002
Posts: 636
Kadar is on a distinguished road
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;
}
__________________
Reply With Quote
  #7  
Old 02-15-2002, 11:06 PM
TDK_RC6 TDK_RC6 is offline
Registered User
TDK_RC6's Avatar
Join Date: Jan 2002
Location: Earth
Posts: 0
TDK_RC6 is on a distinguished road
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
__________________
Staff on Renegade


email: [email protected]
aim: papivicente
Reply With Quote
  #8  
Old 02-15-2002, 11:07 PM
TDK_RC6 TDK_RC6 is offline
Registered User
TDK_RC6's Avatar
Join Date: Jan 2002
Location: Earth
Posts: 0
TDK_RC6 is on a distinguished road
Exclamation

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
__________________
Staff on Renegade


email: [email protected]
aim: papivicente
Reply With Quote
  #9  
Old 02-16-2002, 12:06 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Did you even upload the gani onto the server?
Reply With Quote
  #10  
Old 02-16-2002, 12:10 AM
Mosquito Mosquito is offline
Registered User
Join Date: Jan 2002
Posts: 141
Mosquito is on a distinguished road
yes!
Reply With Quote
  #11  
Old 02-16-2002, 05:47 AM
zell12 zell12 is offline
Gone
zell12's Avatar
Join Date: Jun 2001
Location: Alberta, Canada
Posts: 8,541
zell12 has a spectacular aura about
Send a message via ICQ to zell12 Send a message via AIM to zell12 Send a message via MSN to zell12
Ferret... Die XD j/k
__________________
Reply With Quote
  #12  
Old 02-16-2002, 05:52 PM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
Quote:
Originally posted by Kaimetsu


*adds Ultima_P2P to his delete-posts-on-sight list*
go kaimetsu! *punches his fist*
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:47 PM.


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