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 11-02-2001, 04:28 AM
Vinvect Vinvect is offline
Registered User
Join Date: Aug 2001
Location: U.S.A,California,Milpitas,In A House,In Room,On A Seat,On a Computer
Posts: 157
Vinvect is on a distinguished road
Send a message via ICQ to Vinvect Send a message via Yahoo to Vinvect
Question NOT go back when hurt

how do u NOT go back when u get hurt?
ive treid :
if(playerenters){
toweapons *No Go Back;
}
if(washit||wasshot||exploded||waspelt){
playerx=x;
playery=y;
sleep.1;
playerx=x;
playery=y;
sleep.1;
}
and stuf leik that....
__________________
==========================
I Script Really Good
&
Looking For A NAT Job
==========================
Quote:
That's like a big lugee!
-Evolution The Movie
Quote:
Ha Ha Ha Give It Up!
-Cyrus From Bomberman
I'm not a Bomy anymore.
I'm a MUTATED BROCLI MONSTER!
(or SIGN MONSTER)
If you make me angry,
I'LL EAT YOU WHOLE!
ME, MUTATED BROCLI MONSTER MASTER
(or SIGN MONSTER)
WILL EAT YOU ALL UP!
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Quest Valley Owner
Looking For Staff
Pm Me
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
O.o Still Have My Braen Damaegd o.O


Thanks To Esiah, He Made This For Me!
Thanks Esiah!
Reply With Quote
  #2  
Old 11-02-2001, 04:31 AM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
Re: NOT go back when hurt

Wrong commands lol washit is for NPC
Reply With Quote
  #3  
Old 11-02-2001, 04:32 AM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
NPC Code:
if (playerenters) toweapons -EEK You aren't moving when you get hurt.;
if (playerhurt) {
playerhurtdx=0;
playerhurtdy=0;
}


I don't know if that actually works though.
__________________

Reply With Quote
  #4  
Old 11-02-2001, 05:14 AM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
record the playershearts and if the hearts go lower then freezeplayer
Reply With Quote
  #5  
Old 11-02-2001, 06:38 AM
TDO2000 TDO2000 is offline
Registered User
TDO2000's Avatar
Join Date: Jul 2001
Location: Germany
Posts: 655
TDO2000 is on a distinguished road
Quote:
Originally posted by btedji
record the playershearts and if the hearts go lower then freezeplayer
I thinks Grims way is much more effective *laying down on the floor an praying to the great grim*
__________________
No Webhost at the moment
Reply With Quote
  #6  
Old 11-02-2001, 08:12 AM
Faheria_GP2 Faheria_GP2 is offline
Banned
Faheria_GP2's Avatar
Join Date: Oct 2001
Posts: 1,177
Faheria_GP2 is on a distinguished road
if (timeout) {
if (strequals(#m,hurt)) {
playerhurtdx=0;
playerhurtdy=0;
}
timeout=.05;
}

now get on your feet and pray to *ME*
Reply With Quote
  #7  
Old 11-03-2001, 02:25 AM
Xaviar Xaviar is offline
Registered User
Join Date: Aug 2001
Location: Fairyland
Posts: 463
Xaviar is on a distinguished road
Send a message via ICQ to Xaviar Send a message via AIM to Xaviar
Quote:
Originally posted by Faheria_GP2
if (timeout) {
if (strequals(#m,hurt)) {
playerhurtdx=0;
playerhurtdy=0;
}
timeout=.05;
}

now get on your feet and pray to *ME*
Why would we bow to that? #1, you ripped off Grim's...And #2, that eats alot more processor time than it needs to
__________________
One by one, the penguins steal my sanity.

*cookie for Xaviar* --Originally posted by Tyhm

--Xaviar

A m e r i c a
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 07:32 PM.


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