Bully-Board

Bully Modding Section => Script Modding => LUA Scripting Help => Topic started by: Hopking on June 24, 2013, 07:43:03 AM

Title: PedSetActionNode Looping
Post by: Hopking 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.
Title: Re: PedSetActionNode Looping
Post by: WhenLifeGivesYouLemons 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.