| Yoko http://forum.yoko.com.ua/ |
|
| Info on yokoinjection http://forum.yoko.com.ua/viewtopic.php?f=1&t=569 |
Page 1 of 1 |
| Author: | raptor [ 2004-06-15 20:03:44 ] |
| Post subject: | Info on yokoinjection |
hi there.. i'd ask you some info about yokoinjection 1-does someone know how to use arrays? i use a syntax like: 1 dim A[10] 2 A[5]="1" but i get an "unhandled parser exception" or something like that on line 2 2-is the bar (with reagents hits and other info) customizable? can i add dexterity potions necro reagents and so on? 3-is there any kind of bible for yokoinjection with all functions/variables/commands use (in english.. i dont understand russian |
|
| Author: | lalla521 [ 2004-06-15 22:23:01 ] |
| Post subject: | |
1) try to use downcase names for varibles 2)no you cant 3)the english homepage with the changelog |
|
| Author: | raptor [ 2004-06-15 23:11:11 ] |
| Post subject: | |
i solved the array one i had an old version of injection.dll it's a shame for the bar mmh the homepage doesnt contain the lastest version of injection like 4ZD :/ anyway..thanks for the answers =) ah.. do you know how to poison a weapon that is an object type? a friend of mine told me to do uo.exec ("useskill poisoning poison objectname") is this right? |
|
| Author: | raptor [ 2004-06-15 23:54:49 ] |
| Post subject: | |
i was wrong.. the arrays problem remains i cant use dim z[5] sub aaa() z[1]=1 uo.print(str(z[1])) end sub i cant use a global variable.. :/ i must use sub aaa() dim z[5] z[1]=1 uo.print(str(z[1])) end sub is there a method (like function parameters) to use global arrays? |
|
| Author: | Boydon [ 2004-06-16 00:46:57 ] |
| Post subject: | |
Here is a sample of how to use arrays from one of my scripts. Code: sub speechcolor() It changes your speechcolor every "i" seconds. Just for fun. |
|
| Author: | Lord Ruslan Nightmare [ 2004-06-16 11:14:14 ] |
| Post subject: | |
There is no direct support for global arrays (and also for dynamic arrays) - but you can write simple set of functions to implement global (maybe - dynamic) arrays via global variables. Smth like: Code: sub InitArray(name) Of course there is need some dispose functions and some enchantments in SetArraySize (and, of course, bugfixes |
|
| Author: | raptor [ 2004-06-16 12:53:00 ] |
| Post subject: | |
oh thanks men and for the "useskill" command? do you know something |
|
| Author: | Lord Ruslan Nightmare [ 2004-06-16 15:09:48 ] |
| Post subject: | |
Don't understand, what are you talking about... uo.useskill() - it is what you need? I think, you should look at online-help on Yoko's homepage...Yes it is on russian, but nmes of functions and syntax - on english. Alphabetical list - rulez! http://yoko.netroof.net/help/help.php?l ... dictionary |
|
| Author: | raptor [ 2004-06-17 01:16:26 ] |
| Post subject: | |
ah! a complete function/command list isnt it?!? lol that's great! basically i need a command to poison my kryss "uo.useskill poisoning kryss" would work great there is also uo.poison but i dont know what is this :/ thanks really a lot |
|
| Author: | Lord Ruslan Nightmare [ 2004-06-17 16:51:28 ] |
| Post subject: | |
i think, it must work: uo.waittargetobject(obj1,obj2) useskill("Poisoning") where obj1 - poison potion, and obj2 - weapon or obj1 - weapon and obj2 - poison...It's shard-specific |
|
| Author: | raptor [ 2004-06-18 01:14:50 ] |
| Post subject: | |
ok thanks |
|
| Page 1 of 1 | All times are UTC+02:00 |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|