Yoko http://forum.yoko.com.ua/ |
|
Findobject! http://forum.yoko.com.ua/viewtopic.php?f=17&t=15258 |
Page 1 of 1 |
Author: | Ever1x [ 2009-11-07 14:21:33 ] |
Post subject: | Findobject! |
First of all, is it possible to find items by serial? Code: sub objsearch() I hope u can understand! |
Author: | Scripts Writer [ 2009-11-07 15:41:39 ] |
Post subject: | |
Code: if uo.GetQuantity(serial) > 0 then |
Author: | Ever1x [ 2009-11-07 16:12:30 ] |
Post subject: | |
and if its a horse? If not objatlayer(Horse) and (CANT FIND Horse ID) then end if |
Author: | Ever1x [ 2009-11-10 17:40:59 ] |
Post subject: | |
is it possible? UP |
Author: | Destruction [ 2009-11-10 19:58:09 ] |
Post subject: | |
Code: If not uo.objatlayer("Horse") and uo.getQuantity("Horse ID") == 0 thenIs the problem? |
Author: | Ever1x [ 2009-11-23 16:12:27 ] |
Post subject: | |
Code: sub main() This scp doesn't print found by serial! Why? |
Author: | Savage [ 2009-11-23 16:14:36 ] |
Post subject: | |
var id1='0x01267EC9' Horse is mobile object, try on TWI checkbox to find by type. Try uo.print(STR(UO.GetSerial('finditem'))) |
Author: | Ever1x [ 2009-11-24 15:16:03 ] |
Post subject: | |
Could u tell me what is TWI? U can use russian, I uderstand russian, but not perfect! ![]() Oh I uderstood, TWI is Track World Items! ![]() It prints out value 0! Should be 1? |
Author: | Mirage [ 2009-11-24 16:58:16 ] |
Post subject: | |
mb: Code: sub main() try this |
Author: | Ever1x [ 2009-11-24 17:38:28 ] |
Post subject: | |
Worked, but what there is different? ![]() |
Author: | Mirage [ 2009-11-24 21:59:19 ] |
Post subject: | |
var id1='0x01267EC9' <-- Эээ как бы сказать по не нашенски... УЧИ ЯЗЫК екарный бабай! ![]() |
Author: | Ever1x [ 2009-11-27 15:52:05 ] |
Post subject: | |
Forgot to put ''! Omg, Cant believe! |
Author: | Ever1x [ 2009-12-05 13:48:06 ] |
Post subject: | |
UP Code: sub main() 'Horse' Is an object. Added with exec('addobject ') I want to know the way, how can I use in scp objects/Types which is already in injection! |
Author: | Savage [ 2009-12-05 17:40:31 ] |
Post subject: | |
What you mean under: "how can I use in scp objects/Types which is already in injection"? |
Author: | Ever1x [ 2009-12-05 18:01:54 ] |
Post subject: | |
I thought that some wouldn't understand. In Injection there is sections Objects, Object Types. You don't need to declare variables, var Horse in this situation. And u may use exec('addobject XXXX') to Create a new "Variable For Object" or just update old ones. |
Author: | Savage [ 2009-12-05 18:13:10 ] |
Post subject: | |
Code: if uo.getserial('finditem') == 'Horse' then U need it? |
Author: | Ever1x [ 2009-12-05 19:06:01 ] |
Post subject: | |
Yes I need that place! ![]() |
Author: | Ever1x [ 2009-12-06 14:26:36 ] |
Post subject: | |
Found out how! ![]() |
Page 1 of 1 | All times are UTC+02:00 |
Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |