Yoko http://forum.yoko.com.ua/ |
|
How to Lock EnemyID in my script? http://forum.yoko.com.ua/viewtopic.php?f=3&t=15351 |
Page 1 of 1 |
Author: | roro4ever [ 2009-12-12 17:39:46 ] |
Post subject: | How to Lock EnemyID in my script? |
We know,use inj's 'laststatus',first spell a lighting on enemy,then use healself,'laststatus' will equal 'self',the next lighting will point self. So I wanna make a script who can lock EnemyID by 'laststatus'. But i am confused with Inj Script's var scope. Below is a piece of my script Code: var EnemyID But the "Locked" and "EnemyID" all are temporary var in 1st sub. How to modify this script to make it work? Thx a lot. I already tryed uo.Getglobal() and uo.SetGlobal(),but it's text,especially for uo.Getserial('laststatus'),we need a Hex value,not just string. So,Please help me! |
Author: | roro4ever [ 2009-12-12 18:39:06 ] |
Post subject: | |
Maybe I have solved ! Haha! Code: var LockMode=1 Anybody has better solution? AddObject()? |
Page 1 of 1 | All times are UTC+02:00 |
Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |