what is the function for wielding an item?
what is the function for wielding an item?
GoTo: C > program files > SCAR > Includes > SRL > SRL > Core > and search for something that would point that way like:
GameTabs.scar
Inventory.scar
then open it and search.
Code:
- Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
- Solarwind: Dude, you are like... t3h s3x.
- Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
- benjaa: woah.... Jukka is the man Guildminer pwns all
- NaumanAkhlaQ: And JuKKa Is my Her0!
alternatively..you could go to Help > SRL Manual in SCAR and Ctrl + F and find wield
Originally Posted by That guy that wrote forefeathers
didnt find any wield or equip functions in there only unequip: "procedure TakeOff"
nvm i found "procedure MouseItem(i: Integer; left: Boolean);"
which "Moves Mouse to invin spot then clicks left or right"
Tommy don't double post use edit button.
Maybe make a DTM for it and make it find the DTM, you could try to do this
SCAR Code:if FindDTM(NameOfDTM, x, y, mix1, miy1, mix2, miy2) then
Mouse(x,y,2,2,false);
ChooseOption('ield');
With DTM's you don't have to have it in a certain inventory spot so it will be more useful.
sorry i will try that
There are currently 1 users browsing this thread. (0 members and 1 guests)