News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Author Topic: PedSetActionNode Looping  (Read 3169 times)

0 Members and 1 Guest are viewing this topic.

Offline Hopking

  • Jr. Member
  • **
  • Posts: 67
  • Gender: Male
    • View Profile
PedSetActionNode Looping
« on: June 24, 2013, 07:43:03 AM »
The question is, is it possible? I understand It would be possible using timer.Create in LUA but this would be greatly inefficient. Any other ways of doing so?

Also... I have an action where the pedestrian will smoke on a wall. However it does not function properly. The character will simply lean on the wall, play a few parts of the entering animation before discarding it.

    PedSetActionNode(gPlayer, anim1[navig2], anim2[navig2]);


Nevermind.
« Last Edit: June 25, 2013, 12:32:20 PM by Hopking »

Offline WhenLifeGivesYouLemons

  • xfire: 1emonthatsme
  • Sr. Member
  • ***
  • Posts: 971
  • Gender: Male
  • 波動バースト
    • View Profile
Re: PedSetActionNode Looping
« Reply #1 on: June 24, 2013, 09:54:36 AM »
I am not sure what you are talking about for the first question...

But for the second one there are two separate smoking anim where the player walks to the wall and smokes... and another to make him stop.