Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-08-2002, 07:34 AM
Deadly_Killer Deadly_Killer is offline
Registered User
Join Date: Feb 2002
Posts: 227
Deadly_Killer is on a distinguished road
Strings for mining.

Anyway I can make a hammer with a string and not a triggeraction? I have the mining script i just need a hammer without using triggeractions. Anyway?
__________________
- Zidane / Zidaya
Reply With Quote
  #2  
Old 03-08-2002, 07:38 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Re: Strings for mining.

Quote:
Originally posted by Deadly_Killer
Anyway I can make a hammer with a string and not a triggeraction? I have the mining script i just need a hammer without using triggeractions. Anyway?
Why??Triggeraction works fine on free and p2p servers
Reply With Quote
  #3  
Old 03-08-2002, 07:41 AM
Deadly_Killer Deadly_Killer is offline
Registered User
Join Date: Feb 2002
Posts: 227
Deadly_Killer is on a distinguished road
strings

I aint good at triggeractions and i like to try other things =D i like the hard way
__________________
- Zidane / Zidaya
Reply With Quote
  #4  
Old 03-08-2002, 07:50 AM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
Re: strings

Quote:
Originally posted by Deadly_Killer
I aint good at triggeractions and i like to try other things =D i like the hard way
you will learn soon that you would rather have it the easier way


and triggeraction isnt that hard and i cant think of anyother way to mine without triggeraction
__________________
[signature]insert here[/signature]
Reply With Quote
  #5  
Old 03-08-2002, 07:56 AM
Deadly_Killer Deadly_Killer is offline
Registered User
Join Date: Feb 2002
Posts: 227
Deadly_Killer is on a distinguished road
Post ...

Can you just help me with this doing strings? I dont know strings to well so i would like to learn em.
__________________
- Zidane / Zidaya
Reply With Quote
  #6  
Old 03-08-2002, 08:51 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
I think what mining did before triggeraction was check for the gani
Im not sure if you can use strings for it, you could but i t would probably be hard and a pain in the ass compared to triggeraction
Reply With Quote
  #7  
Old 03-08-2002, 08:52 AM
Deadly_Killer Deadly_Killer is offline
Registered User
Join Date: Feb 2002
Posts: 227
Deadly_Killer is on a distinguished road
can u try something besides triggeraction?
__________________
- Zidane / Zidaya
Reply With Quote
  #8  
Old 03-08-2002, 09:15 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
Re: Re: strings

Quote:
Originally posted by screen_name


you will learn soon that you would rather have it the easier way


and triggeraction isnt that hard and i cant think of anyother way to mine without triggeraction
the old shitty graal2001 way

check the gani and if it's standing over the NPC
Reply With Quote
  #9  
Old 03-08-2002, 07:00 PM
Deadly_Killer Deadly_Killer is offline
Registered User
Join Date: Feb 2002
Posts: 227
Deadly_Killer is on a distinguished road
...

I got the gani now what heres the script for hammer so far.

NPC Code:

// NPC made by Zell
timereverywhere;
if (playerenters) {
toweapons Hammer;
}
if (weaponfired){
setani jhammer,hammermetalicon.gif;
freezeplayer 0.5;
}

__________________
- Zidane / Zidaya
Reply With Quote
  #10  
Old 03-09-2002, 12:10 AM
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
Talking

Use triggeractions or I refuse to help. :grrr:
__________________

!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
  #11  
Old 03-09-2002, 12:37 AM
TDO2000 TDO2000 is offline
Registered User
TDO2000's Avatar
Join Date: Jul 2001
Location: Germany
Posts: 655
TDO2000 is on a distinguished road
String Version... it's a silly way but possible... dunno why u want to use strings...

Hammer:
NPC Code:

if (playertouchsme) toweapons Hammer;
if (weaponfired) {
setani jaxe,;
set hammer;
freezeplayer 1;
timeout = 1;
}
if (timeout) unset hammer;



the mining stone
NPC Code:

if (playerenters) {
timereverywhere;
timeout=.05;
}
if (timeout) {
if (playerx in |x-3,x+width+3| && playery in |y-3,y+height+3| && hammer) {
setstring hammered, #v(strtofloat(#s(hammered))+random(0,1));
setplayerprop #c, jeha hammer;
}
timeout=.05;
}


But it's a silly way
__________________
No Webhost at the moment
Reply With Quote
  #12  
Old 03-14-2002, 01:33 AM
SaijinGohan SaijinGohan is offline
Registered User
SaijinGohan's Avatar
Join Date: Jul 2001
Location: U.S.A - Ohio
Posts: 536
SaijinGohan is on a distinguished road
Send a message via AIM to SaijinGohan Send a message via MSN to SaijinGohan
u have to learn triggeraction, its so eane you try it for a few times
__________________

Job: A Legend

And you think that you have played Graal forever? Ha!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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:37 PM.


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