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-18-2008, 04:04 PM
Ngoc999 Ngoc999 is offline
Registered User
Ngoc999's Avatar
Join Date: Oct 2008
Posts: 20
Ngoc999 is an unknown quantity at this point
Unhappy Punch

i scripted a weapon (Punch) To Punch But It Wont Work I Only Use Sword..
What I Did Is

I Gani The Punch I Uploaded It.
Then Ill Scripted It But If I Press Apply In Weapon Script (Punch)
He Punch But He Wont Punch In Game

Help Me Please
Reply With Quote
  #2  
Old 11-18-2008, 04:53 PM
Ngoc999 Ngoc999 is offline
Registered User
Ngoc999's Avatar
Join Date: Oct 2008
Posts: 20
Ngoc999 is an unknown quantity at this point
??
Reply With Quote
  #3  
Old 11-18-2008, 04:54 PM
Codein Codein is offline
jwd
Codein's Avatar
Join Date: Oct 2005
Location: Greater Manchester
Posts: 2,423
Codein has a spectacular aura aboutCodein has a spectacular aura about
Send a message via AIM to Codein Send a message via MSN to Codein
Did you give yourself the weapon?
Reply With Quote
  #4  
Old 11-18-2008, 05:26 PM
Soala Soala is offline
Ideas on Fire
Soala's Avatar
Join Date: Jun 2007
Location: In my head
Posts: 3,208
Soala is a jewel in the roughSoala is a jewel in the rough
Showing us the script would be best if you want help.
I didn't even understand a single word.
Reply With Quote
  #5  
Old 11-18-2008, 05:48 PM
Ngoc999 Ngoc999 is offline
Registered User
Ngoc999's Avatar
Join Date: Oct 2008
Posts: 20
Ngoc999 is an unknown quantity at this point
Pez helped me with the gani thats why the gani named pez

Script:
//#CLIENTSIDE
function onCreated() {
setani("pez-punch", null);
}
Reply With Quote
  #6  
Old 11-18-2008, 06:05 PM
Soala Soala is offline
Ideas on Fire
Soala's Avatar
Join Date: Jun 2007
Location: In my head
Posts: 3,208
Soala is a jewel in the roughSoala is a jewel in the rough
You could first define something with a key, as exemple:
PHP Code:
function onKeyPressed(keycode,key)
{
 if (
key == "s" || keycode == 32
etc...

If you make it like it set the gani only when you create the script, then it will never work.

And remember, the forums are not here to CREATE your scripts.
You must hire a scripter for this.
Reply With Quote
  #7  
Old 11-18-2008, 06:41 PM
Deas_Voice Deas_Voice is offline
Deas
Deas_Voice's Avatar
Join Date: Jun 2007
Location: Sweden
Posts: 2,264
Deas_Voice is a jewel in the roughDeas_Voice is a jewel in the rough
Send a message via AIM to Deas_Voice Send a message via MSN to Deas_Voice Send a message via Yahoo to Deas_Voice
oh pez........
LOL pez......
i bet pez was thinking of replaceani("newani","oldani");
xD
__________________
.
WTF is real life, and where do I Download it?
There is no Real Life, just AFK!
since 2003~
I Support~
ღAeonღ | ღTestbedღ | ღDelteriaღ

if you are going to rep me, don't be an idiot, leave your name!
I got nothing but love for you
Reply With Quote
  #8  
Old 11-18-2008, 06:45 PM
Dan Dan is offline
Daniel
Join Date: Oct 2007
Posts: 383
Dan is an unknown quantity at this point
Send a message via MSN to Dan
Quote:
Originally Posted by Deas_Voice View Post
oh pez........
LOL pez......
i bet pez was thinking of replaceani("newani","oldani");
xD
Lol @ you trying to say someone is wrong.
It's replaceani(oldani,newani), not the other way around.
__________________
Reply With Quote
  #9  
Old 11-18-2008, 06:47 PM
Deas_Voice Deas_Voice is offline
Deas
Deas_Voice's Avatar
Join Date: Jun 2007
Location: Sweden
Posts: 2,264
Deas_Voice is a jewel in the roughDeas_Voice is a jewel in the rough
Send a message via AIM to Deas_Voice Send a message via MSN to Deas_Voice Send a message via Yahoo to Deas_Voice
Quote:
Originally Posted by Dan View Post
Lol @ you trying to say someone is wrong.
It's replaceani(oldani,newani), not the other way around.
my mistake.

btw i know pez cant script.
__________________
.
WTF is real life, and where do I Download it?
There is no Real Life, just AFK!
since 2003~
I Support~
ღAeonღ | ღTestbedღ | ღDelteriaღ

if you are going to rep me, don't be an idiot, leave your name!
I got nothing but love for you
Reply With Quote
  #10  
Old 11-18-2008, 06:49 PM
Soala Soala is offline
Ideas on Fire
Soala's Avatar
Join Date: Jun 2007
Location: In my head
Posts: 3,208
Soala is a jewel in the roughSoala is a jewel in the rough
I guess he just wanted to make a punch system ?
He could use replaceani(sword,pez-punch); for sure that's the same lol
Reply With Quote
  #11  
Old 11-18-2008, 08:21 PM
Codein Codein is offline
jwd
Codein's Avatar
Join Date: Oct 2005
Location: Greater Manchester
Posts: 2,423
Codein has a spectacular aura aboutCodein has a spectacular aura about
Send a message via AIM to Codein Send a message via MSN to Codein
Quote:
Originally Posted by Deas_Voice View Post
btw i know pez cant script.
This isn't about Pez's scripting. It never was, either.
Reply With Quote
  #12  
Old 11-18-2008, 10:05 PM
Deas_Voice Deas_Voice is offline
Deas
Deas_Voice's Avatar
Join Date: Jun 2007
Location: Sweden
Posts: 2,264
Deas_Voice is a jewel in the roughDeas_Voice is a jewel in the rough
Send a message via AIM to Deas_Voice Send a message via MSN to Deas_Voice Send a message via Yahoo to Deas_Voice
Quote:
Originally Posted by Codein View Post
This isn't about Pez's scripting. It never was, either.
it isen't?
__________________
.
WTF is real life, and where do I Download it?
There is no Real Life, just AFK!
since 2003~
I Support~
ღAeonღ | ღTestbedღ | ღDelteriaღ

if you are going to rep me, don't be an idiot, leave your name!
I got nothing but love for you
Reply With Quote
  #13  
Old 11-19-2008, 07:05 PM
Ngoc999 Ngoc999 is offline
Registered User
Ngoc999's Avatar
Join Date: Oct 2008
Posts: 20
Ngoc999 is an unknown quantity at this point
....??? i still dunno how x_X
Reply With Quote
  #14  
Old 11-22-2008, 09:31 PM
Pelikano Pelikano is offline
Registered User
Pelikano's Avatar
Join Date: Oct 2008
Posts: 1,133
Pelikano has a little shameless behaviour in the past
They told you already.
Hire a NAT.
Reply With Quote
  #15  
Old 11-30-2008, 05:53 AM
Switch Switch is offline
o.o
Switch's Avatar
Join Date: Jan 2007
Location: Philadelphia
Posts: 3,038
Switch has a spectacular aura about
Send a message via MSN to Switch
Quote:
Originally Posted by Dan View Post
Lol @ you trying to say someone is wrong.
It's replaceani(oldani,newani), not the other way around.
Deas got owned at his own game.
Quote:
Originally Posted by Ngoc999 View Post
Pez helped me with the gani thats why the gani named pez
L0L PEZ 1$ 1337 UB3RN3$$!
Hire a scripter, better help
And also speaking proper english helps a lot, tanc u vry mush.
__________________
Oh squiggly line in my eye fluid. I see you lurking there on the peripheral of my vision.
But when I try to look at you, you scurry away.
Are you shy, squiggly line?
Why only when I ignore you, do you return to the center of my eye?
Oh, squiggly line, it's alright, you are forgiven.
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 03:46 PM.


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