![]() |
Grappling Hook
Okay, I am starting to get more into the Scripting part of Graal. But, anyway, I know 3/4s of the Commands but I just don't know how to use some of them. Anyway, I am gonna start working on a 2D type Grappling Hook like in Zelda: Link's Awaking DX. I am working on the add to inventory part which will only take me like 2 seconds. But, What this is mainly about is, I will most likely start posting updates on the script sorta. If I need help that is.
NPC Code: |
That is what I have so far.
Also, I need to know the script for like making a player doing a Gani, but, since the Grappling Gani is going to make the player go left/right/up/down, I am wondering how I can make it to where if when the player is done moving to the right of the screen, while doing the gani, after it is done, the gani that is, he stays in that position. |
as Kai says
do NOT use flags |
Jadis:
Wow a grappling hook you say? And this has -only- been done.. oh lets see here.. 200 times before? I myself have made one and therefore, everyone has. |
Quote:
And why not use flags? They're perfectly fine for getting the weapon to be part of a quest. You could set a string, but that'd really be pointless and less-efficient. |
lol
hes only learning thats how you learn you see something you like you make it YOURSELF then you advance on from there |
Quote:
but i asked Kai why he was so anti-flags and he said they sometimes dont set and unset online |
Jadis:
Quote:
|
I have an idea for a grapple hook...just a crude one mind you. Oughta do it.
|
Jadis:
I need to stop posting so fast, but he is right about that; however, I see no other way to do something. hasweapon() could work, but oh well flags are fine for me. |
you have no problem with what
|
I will just start out easy I guess. I will start out small.
|
PHP Code:
PHP Code:
|
Thanks Merlin!
|
Hmmm... There were about 5 hookshots/grappling hooks made in Graal already. Why don't you try to find one of them, and study how it was made? Personally, I'd find XDaKreepX's, upon my memory, it would be fairly easy to follow.
|
ur a damn voilent for a monkey
|
Lol!
Quote:
-Freaky Carnie- |
Haven't you ever heard of learning by example, Kai?
|
i think the way nai is doing it is good starting small as you learn more things you progress
|
I don't know... Newton thought watching the apple fall to the ground was a whole lot easier than making some crackpot theory...
|
hmmm
Quote:
So Nai should drop an apple :D but seriously, Nai, just get one of the hookshot scripts and look over it to figure out how it works,second ignore Kaimetsu the hateful monkey, Happy Scripting -FrEaKy CaRnIe- |
Re: Re: hmmm
Quote:
you are qualified,but, its not *****ic its just fine, as long as your not stealing the script |
Re: Re: Re: Re: hmmm
Quote:
|
nai is doing it fine as it is let him do it little by little as he learns more.
|
Kai, this way may have worked fine for you, but it's a lot harder for people who lack the way of thinking you were blessed with. Some people can't even learn that way, so please don't shun any other way then yours.
|
Ah, but there is trial and error in that, for he has to figure out what part of the script does what in order for anything to work. By understanding what part does what, he has to learn anyway, but at a faster pace. Besides, trial and error may leave you doing something that is very inefficient and pretty pointless.
|
It did for me.
|
Kai, I respect you, but, anyway of learning is fine, as long as your not learning from Ice Pick:D
But let him pick his way, he might become better than you lmao -Freaky Carnie- |
Jadis:
I learned by examples to learn the basic "program execution" Before "Gscript" I hadn't the slightest about -any- programming language. Once I got the basics, I.E. understood rupees+=3; and junk like that I just started trial and error. Probably because when I was learning the best example of a good NPC was the beer npc which slid across a bar. |
Hey! I made that! =P
|
Ever thought that different people might have different ways of doing things, and that some people learn to accept that they are different? (No, I'm not some stupid tree-hugging hipee.)
|
Dudes this thread is getting way outa hand. And Kiametsu jus coz ur a good scripter dont mean ur in charge of the law of gravity or even ways of learning to script so put a sock in it man!
hmmm...... now where were we? |
Quote:
on a public forum there will be alterications, guy! |
| All times are GMT +2. The time now is 11:51 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.