Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Guild Wars > GW Bots
You last visited: Today at 09:34

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



trying to code scroll usage

Discussion on trying to code scroll usage within the GW Bots forum part of the Guild Wars category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2011
Posts: 14
Received Thanks: 7
Question trying to code scroll usage

im working on something that i need to use a scroll for, however when the action comes about the game crashes.
Func usescroll()
Out("scrolling")
useitem($scroll)

EndFunc ;use scroll
is what i am using and i do have it declared in global with the scroll id#
Global Const $scroll = xxxx
i have also tried to take a page out of the ToC script with no luck. any help would be appreciated. TiA!! would prefer to have scrolls sit in (4,1)
moneyvsmoney is offline  
Old 12/09/2020, 17:13   #2
 
elite*gold: 0
Join Date: Jul 2011
Posts: 126
Received Thanks: 70
I think UseItem needs the ItemID, but I guess $scroll is the modelId. UseItem(GetItemByModelId($scroll)) should work
n0futur3 is offline  
Old 12/11/2020, 18:59   #3
 
elite*gold: 0
Join Date: Dec 2010
Posts: 22
Received Thanks: 11
what scrolls are you trying to use all scrolls have different model numbers

also all you need to declare the variables

Code:
Global Const $fow = 34 :use you Map #
Global Const $scroll = 22280 ; use your scrolls model #

Func enterscroll()
	Out("using scroll")
	useitembymodelid($scroll)
	WaitMapLoading($fow)
 EndFunc   ;==>enterscroll
corey54321 is offline  
Reply


Similar Threads Similar Threads
Scroll usage
08/02/2017 - SRO Private Server - 13 Replies
Hey ! I created some scrolls : Sort of item : Return Scroll Is there something wrong with the scroll querry? cuz everytime I use it, the char turns into murder after teleport <.<
Vsro silk scroll and gift scroll doesn't work
10/17/2015 - SRO Private Server - 1 Replies
solved topic can delete
(ALB) WTS Effect Scroll - Megadolon Drop Scroll
01/09/2012 - Trading - 1 Replies
Im looking for plats just serious offers please
WTT 3X Scroll for Shuta( Come with ur Scroll)(Evengarda)
06/16/2010 - Archlord Trading - 1 Replies
İ want to change 4x Scroll for shuta ... u need to come with ur scroll



All times are GMT +1. The time now is 09:34.


Powered by vBulletin®
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

BTC: 33E6kMtxYa7dApCFzrS3Jb7U3NrVvo8nsK
ETH: 0xc6ec801B7563A4376751F33b0573308aDa611E05

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2021 elitepvpers All Rights Reserved.