Page 1 of 1

if "$spawn(@ID_TARGET_NEXT,type)"!="NPC"

Posted: Wed May 12, 2004 3:45 am
by barice01
have no idea to tran behind code , and i already watch so many spawn code...

Code: Select all

/if "$spawn(@isFighting,type)"!="NPC"
thx for help :)

Posted: Wed May 12, 2004 4:51 am
by ml2517

Code: Select all

/if (${Spawn[${isFighting}].Type.NotEqual[NPC]})

thx ml2517

Posted: Wed May 12, 2004 5:12 am
by barice01
you code look like more simple then mine :)

Code: Select all

/if ($String[${Spawn[${isFighting}].Type}].NotEqual[NPC]})
what diffrent ? i dont understand ?[/code]

Posted: Wed May 12, 2004 5:24 am
by Falco72
Type is already a string so you do not need to convert it to string and then use notequal. You can simply use the ml2517 code, it do the same of yours but better :wink: .

Thx Folco72

Posted: Wed May 12, 2004 5:52 am
by barice01
now i undertand :)

but not very clear that Object uses :)

i will keep look code thx :)

Re: Thx Folco72

Posted: Fri May 14, 2004 7:21 pm
by eqjoe
barice01 wrote:now i undertand :)

but not very clear that Object uses :)

i will keep look code thx :)
L'anglais n'est pas votre premier languange ?

:?:

-j

Posted: Fri May 14, 2004 7:44 pm
by Fuergrissa
ahhh another employee in Microsoft Technical Support

Posted: Fri May 14, 2004 9:35 pm
by Oid
Fuck the french.

Posted: Sat May 15, 2004 9:48 pm
by eqjoe
No man.. I was just asking if English was his primary language. :twisted: