Avenger20A Posted February 19, 2009 Share Posted February 19, 2009 I am trying to write a script where a player push away a target via "player.pushactoraway ????? 5" with hand to hand combat, but I can't figure out how to make it hit the target. The closest I can get is that the player gets pushed away wen punching an enermy. Could someone Please help me? Link to comment Share on other sites More sharing options...
LoginToDownload Posted February 20, 2009 Share Posted February 20, 2009 If you don't mind using OBSE, GetCrosshairRef should return your target. If you don't want to use that, you'd likely have to hack something together using AoE Script Effects and GetHeadingAngle to see if the player is facing the spell's subject. If so, you could knock them back in the Magic Effect script. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.