| Yoko http://forum.yoko.com.ua/  | 
|
| Target!! http://forum.yoko.com.ua/viewtopic.php?f=17&t=13891  | 
	Page 1 of 1 | 
| Author: | punkerman [ 2008-08-10 02:30:51 ] | 
| Post subject: | Target!! | 
is there anyway that i can save 2 or more targets? for example if im in a mass pvp and i have 3x1 against me and i need to save the target of the 3 players that are attacking me i would save their target, i wanna dispel cast play 1, i press hotkey and i get the target of player 1, i wanna dispel cast play 2, i press hotkey and get the target of player 2... is there anyway i use this? sry about english  | 
	|
| Author: | Scripts Writer [ 2008-08-10 04:59:27 ] | 
| Post subject: | |
If i need so, i tried to use global variable. For example: Code: sub save_first_target() Code: sub save_second_target() and when i need to cast something on character, i set into third global variable value of variable with ID of attacking character. Look: first=ID attacking 1 second=ID attacking 2 third=ID attacking 1/ ID attacking 2/laststatus and when you'll cast, you need to make WaitTargetObject on ID of third global variable. So, u need scripts: Code: Saving ID first attacker in global variable 'first' Code: Saving ID second attacker in global variable 'second' Code: Scp, which will set 'third' global variable, as 'first' or 'second' Code: Scps, where you will cast on ID of 'third' global variable  | 
	|
| Author: | punkerman [ 2008-08-10 05:02:44 ] | 
| Post subject: | |
oh man, im not a script writer.. i thought it was simple task.. can u make this script?  | 
	|
| Page 1 of 1 | All times are UTC+02:00 | 
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/  | 
|