Disccussion-godofthestaf

I've nearly worked out the guards.

atm when someone using the summon guard spell a guard will spawn
it will not attack the caster and will only attack people flashing.

getting it to attack the casters target should be easy.

the hardest part is getting it to follow the caster.

also i found a bug with mine so far when if you try casting again it will spawn a invisible guard but i know why that is i just need to get round to fixing it
 
well i did most of the guard.
the skill works for me =]

all i need to code is getting the guard to attack the casters target.
Can't get my head around it atm.

and getting it to follow the caster.

these are only hard cause it's hard to select the caster if it's not a target.


basicly i'm not telling you how i did it so far but clue is think how you spawn a mob.

a guard is just like any old mob.
 
(these are only hard cause it's hard to select the caster if it's not a target.)
LOL?
Client.MyChar = caster
make a dictionary entry in allchars to represent any other character = targets
 
Ye i was going to do something like that
but atm i'm unable to call the Client.MyChar in the entities

we the guard spawns and will only attack flashing charesters and will not attack the caster. but thats only causr i save the guards UID
then if target saved uid equals the guards uid target = null.

it's just getting the guard to attack other mobs.
and the guard to follow the caster
thats all i got left to do.
 
Back