Jump to content

Help How to add animated object


Hani2001

Recommended Posts

It's not possible to animate object. Only possible way as Keiichi1 said:

bool moveObject ( object theObject, int time, float targetx, float targety, float targetz, [ float moverx, float movery, float moverz, string strEasingType, float fEasingPeriod, float fEasingAmplitude, float fEasingOvershoot ] )

In later versions, you may able to animate Peds. In (maybe) 1.5.6 there is a function called

ifp engineLoadIFP ( string ifp_file / string raw_data, string CustomBlockName )

where you can include IFP, and then use it with

bool setPedAnimation ( ped thePed [, string block=nil, string anim=nil, int time=-1, bool loop=true, bool updatePosition=true, bool interruptable=true, bool freezeLastFrame=true, int blendTime=250] )

Good luck :)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...