i am making a mod where players can use magic spells on each other, and one of them is possessing another character for a short period of time. GetThingLVec seems to only get left-right movements, and i tried firing a ghost projectile rapidly like this:
pulse:
BULLET = FireProjectile(player, ghost, -1, -1, '0.0 0.01 0.0', '0 0 0', 0, 0, 0, 0);
SetThingLook(victim, VectorSub(GetThingPos(BULLET), GetThingPos(player)));
DestroyThing(BULLET);
this worked to control z-axis, but however...this seemed to lag and from the victim's perspective the reaction is about 3 seconds away from my movements so if i move forward and look up, he'll do that 3 seconds later...any suggestions or help would be appreciated greatly. thx a lot!1! =)
some_guy
pulse:
BULLET = FireProjectile(player, ghost, -1, -1, '0.0 0.01 0.0', '0 0 0', 0, 0, 0, 0);
SetThingLook(victim, VectorSub(GetThingPos(BULLET), GetThingPos(player)));
DestroyThing(BULLET);
this worked to control z-axis, but however...this seemed to lag and from the victim's perspective the reaction is about 3 seconds away from my movements so if i move forward and look up, he'll do that 3 seconds later...any suggestions or help would be appreciated greatly. thx a lot!1! =)
some_guy