SRL Archive - RS3 Script Requests

Hill Giant Script


mxtrix

2011-12-14 03:33:37

Hey, was wondering a hill giant killer would be a good script idea. I have a base Idea of how it would work bellow but sadly I have no idea how to script :/

It would have to (this is just a basic idea)

Check attack style
Change to set attack style
Check for brass key
If true then goto B
If false goto A
:A
Stop script with error: No Brass Key
:B
Detect food ID
Walk to dungeon
Open Door
Climb down ladder
Find Hill Giant
Attack Hill Giant(s)
Eat (Food ID) When Health is at set %
When no food walk to ladder
Climb up ladder
Open Door
Walk to GE Bank
Open bank
If (Food ID) Present goto D
If (Food ID) Not present goto C
:C
Stop script with error: Out of food
:D
Withdrawl 28x(Food ID)
Goto B

WT-Fakawi

2011-12-14 04:00:52

Well, your script looks like you know how to do this :)

Is there any food around the hill giants, like fresh fish or meat that can be cooked? If so, I would go for that :) More creative and less walking.

mxtrix

2011-12-14 04:13:36

There is no food around but you could loot fish from the barbarian fishing spot. I don't know if there are enough people there to loot from though atm. The script could possibly loot bones however that would make it way more complicated and I just want it to be basic to start with. Thanks for your suggestions and I might have a little look at some scripting tutorials.

kalzfutur

2012-02-05 10:57:29

lol

PatDuffy

2012-02-05 11:00:05

I'm actually impressed by this request, your one of the few who write out the basic logic of what a script should do, which is the first step towards creating a script.

pigggy

2012-02-05 11:21:04

i would rather bank at the varrock bank because i think it would be easier to script and closer than the ge