• 0

    posted a message on Make a unit face angle while moving.

    @BasharTeg: Go

    Helps a lot, thanks!

    Posted in: Triggers
  • 0

    posted a message on Make a unit face angle while moving.

    I've been working on a First Person Shooter type map lately and I can't find a way around this problem. I set the turning rate to 0 for the main character so that he faces forward whilst he strafes,but if I turn the camera whilst moving my character refuses to face the new camera angle. The unit is using the move command to move, I'm not moving him instantly because that makes the camera movement become choppy and without instantly moving him large distances at a time he is rather slow.

    I've tried everything I could think of: actor messages, make unit face angle, etc..

    Also it doesn't matter if its the Actor of the unit facing the angle or the unit itself, any help you can give me is appreciated :)

    Posted in: Triggers
  • 0

    posted a message on [Trigger] How to Target with Mouselook (Tracelines)

    I've made an account just to reply to this post. I've copied the traceline function EXACTLY and despite changing the team that can be attacked from "15" to "c_playerAny" it always tells me I have one error that prevents me from saving or testing it, which is the following:

    "Expected a boolean expression"

    And of course its on the line of

    "lv_closestUnit != gv_mainUnit &&"

    (And no, in the code I don't have quotes around any of those things quoted)

    I'd appreciate any help, thankyou in advance. I've been trying to get this crap (good crap though ) to work for hours on end (No joke)

    Posted in: Tutorials
  • To post a comment, please or register a new account.