Shuttleu
2009-07-18 23:45:35
i dont quite understand what your asking…
are you asking for something which returns the npc that you are fighting?
~shut
Floor66
2009-07-18 23:48:44
NPCWeAreInteracting or something?
Look these up, I believe they're in character.scar or something. They can see if you are interacting, gives the TNPC we're interacting with.
ShowerThoughts
2009-07-18 23:58:30
AFAIK TNPC has a lot of info he wants a skimmed TNPC which only gives back if in fight with a TNPC but with a lot of less crap? Which should take shorter time to load…
I have no idea myself because I don't use reflection but this should help :).
Pure1993
2009-07-19 00:01:42
sorry if I haven't explained it correctly, I'll try again:
While fighting a chicken (or an npc in general), I want to get the tile of the npc I'm fighting. That way I can check for the dieing animation within certain tiles after I gained 4 hitpoint expriences (which should usually kill a chicken if it does not regenerate hp). The problem is, that there are a lot of chicken with the same id, so I need to get the specific tile of the chicken I am/was fighting.
Doesn't AreWeInteracting only work when we are talking with an npc? or does that include fighting (meele/range/magic)
ShowerThoughts
2009-07-19 00:17:23
Can't you split them into an array? There MUST be a way to identify even RS has to know Which chicken is Which chicken
Pure1993
2009-07-19 00:32:39
Oh, didn't know that something called: "Indexes" existed… they are different… thanks Hermen :)
ShowerThoughts
2009-07-19 00:36:11
-.-
Indexes? You seriously don't know what indexes are? You are working with 3-dimensal arrays and you don't know? Lol…(He is a good friend of mine, I knowz everything about him*Stalks*)
IntegerArray[Index]
Epic, :) MSN:
Hermen zegt:
I have never tried the reflection thingy
Douglas zegt:
and still you pwn me… damn i suck…
Pure1993
2009-07-19 00:44:40
Yeah, I've only been working with NPCTypes this far… *sigh* I honestly need to expand my horizon again….
Anyway, admitting defeat is more honerable than winning, keep that in mind when you get another problem, Hermen. ;)
Now I need to re-install my home security… hate stalkers…. :p
ShowerThoughts
2009-07-19 00:54:25
From: Pure1993
Now I need to re-install my home security… hate stalkers…. :p
If you need any help tell me… ;)
Floor66
2009-07-19 01:12:13
The interacting stuff works w/ combat 2.