public void ShielOfArravBook() {
int prev = (player.bookPage * 2) - 1;
int next = (player.bookPage * 2);
if(player.bookPage == 1) {
sendFrame126("@[email protected] The Shield of Arrav", 903);//Title
sendFrame126("The Shield of Arrav",843); //line 1
sendFrame126("",844); //line 2
sendFrame126("by A. R. Wright",845); //line 3
sendFrame126("",846); //line 4
sendFrame126("",847); //line 5
sendFrame126("Arrav is probably the best",848); //line 6
sendFrame126("known hero of the 4th age.",849); //line 7
sendFrame126("Many legends are told of his",850); //line 8
sendFrame126("heroics. One surviving",851); //line 5
sendFrame126("artefact from the 4th age is a",852); //line 5
sendFrame126("fabulous shield.",853); //line 5
sendFrame126("This shield is believed to",854); //line 5
sendFrame126("have once belonged to",855); //line 5
sendFrame126("Arrav and is now indeed",856); //line 5
sendFrame126("known as the Shield of ",857); //line 5
sendFrame126("Arrav. Forover 150 years",858); //line 5
sendFrame126(" it was the prize piece",859); //line 5
sendFrame126("in the royal museum of",860);
sendFrame126("Varrock",861);
sendFrame126("",862);
sendFrame126("",863);
sendFrame126("",864);
sendFrame126("Page-" + prev,14165);
sendFrame126("Page-" + next,14166);
}
showInterface(837); //shows the book interface
player.startAnimation(3141); //shows the player reading
}
The result:
[Only registered and activated users can see links. ]
However, I would like to remove the left arrow on page 1. How would I go about doing this? I saw that interface(840) and interface(842) are the arrows but why do they appear in interface(837)?
Only works with type 0 (parent/container) interfaces without modifying the draw interface methods. By default, it only "hides" interfaces if the hidden interface is a parent interface. For children, it doesn't even bother with the hidden functionality at all.
[Only registered and activated users can see links. ]
Anyway, though, you can also totally do that by just setting the "enabled" sprite to be null and then adding CS1 to toggle the sprite on and off. You don't need a new packet for this.
[Only registered and activated users can see links. ]
Spoiler for aaaa:
[Only registered and activated users can see links. ]