Page 1 of 1

How can I add night animations to a moving car?

Posted: 16 Aug 2021, 03:31
by kyoshimine1
Hello again! It is basically that. How can I add night animations/or just lights to a moving car? In the documentation I found that they use the following code for this, but I don't understand it very well

Code: Select all    Reset

"animation": [ { "id":"$animationcaralertlights00", "pos":[10,-6, 4,-4, 3,-9, 11,-8], "important":true } ]
JSON checker
Check
The "pos" is what I can't understand. If anyone can help me I would appreciate it

*This code belongs to the police car in the game.

Re: How can I add night animations to a moving car?

Posted: 16 Aug 2021, 04:02
by CommanderABab
The pos are the x y coordinates of the animation on the car according to the 4 directional variants of the vehicle. :)

The police car is lucky, It just has one set. :)

Re: How can I add night animations to a moving car?

Posted: 17 Aug 2021, 04:31
by kyoshimine1
CommanderABab wrote:
16 Aug 2021, 04:02
The pos are the x y coordinates of the animation on the car according to the 4 directional variants of the vehicle. :)

The police car is lucky, It just has one set. :)
Oke, thanks Commander :lol: