Rieccomi quì ancora a chiedere consigli sù copme scriptare visto che sono un niubbetto asd...per esempio quì se metto solo:
gosub onhotkey
onhotkey q
{
event macro 15 0
target
set #ltargetid #enemyid
event macro 22 0
}
funziona (anche se mi dà per un istante il target e non sò se è normale)...se invece comincio a mettere più cose sballa tutto e a volte funzionano i tasti e a volte no...per esempio:
gosub onhotkey
onhotkey q
{
event macro 15 0
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey w
{
event macro 15 2
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey e
{
event macro 15 4
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey r
{
event macro 15 7
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey t
{
event macro 15 11
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey y
{
event macro 15 17
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey y
{
event macro 15 19
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey u
{
event macro 15 26
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey i
{
event macro 15 29
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey 15 36
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey o
{
event macro 15 37
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey p
{
event macro 15 41
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey a
{
event macro 15 42
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey s
{
event macro 15 50
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey d
{
event macro 15 103
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey f
{
event macro 15 105
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey g
{
event macro 15 109
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey h
{
event macro 15 110
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey j
{
event macro 15 111
target
set #ltargetid #enemyid
event macro 22 0
}
ecco così mi dà il problema sopra descritto...come mai?cosa sbaglio? ...e tra l'altrootreste dirmi bene come si fà ad impostare ad una azione (spell,bolas,pozze explo etc...)il last target e farla partire bene come fosse una macro?
grazie per l'aiuto
gosub onhotkey
onhotkey q
{
event macro 15 0
target
set #ltargetid #enemyid
event macro 22 0
}
funziona (anche se mi dà per un istante il target e non sò se è normale)...se invece comincio a mettere più cose sballa tutto e a volte funzionano i tasti e a volte no...per esempio:
gosub onhotkey
onhotkey q
{
event macro 15 0
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey w
{
event macro 15 2
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey e
{
event macro 15 4
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey r
{
event macro 15 7
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey t
{
event macro 15 11
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey y
{
event macro 15 17
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey y
{
event macro 15 19
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey u
{
event macro 15 26
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey i
{
event macro 15 29
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey 15 36
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey o
{
event macro 15 37
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey p
{
event macro 15 41
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey a
{
event macro 15 42
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey s
{
event macro 15 50
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey d
{
event macro 15 103
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey f
{
event macro 15 105
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey g
{
event macro 15 109
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey h
{
event macro 15 110
target
set #ltargetid #enemyid
event macro 22 0
}
onhotkey j
{
event macro 15 111
target
set #ltargetid #enemyid
event macro 22 0
}
ecco così mi dà il problema sopra descritto...come mai?cosa sbaglio? ...e tra l'altrootreste dirmi bene come si fà ad impostare ad una azione (spell,bolas,pozze explo etc...)il last target e farla partire bene come fosse una macro?
grazie per l'aiuto
Commenta