Jump to content

Quick questions regarding LUA and models


adamb

Recommended Posts

So, is it possible for LUA to get the location ( call ) of a dummy in a 3d model, and lets say create a corona at its location?

images?q=tbn:ANd9GcRbUxTtfge4ltZX16keF9CJRsVHyxNtJmoQD5Mz0-XzH_pgAdNJPA

Those dummies, the green squares, they mark the location of where doors turn, headlights and taillights are.

so..?

Link to comment

Actually, disregard my last

[596] = {["mode"]="led",  [1]={["pos"]={"rightfrontlight"}, ["color"]={0,0,255}, ["size"]=0.25, ["phase"]=0.0},  
  
rightfrontlight = getVehicleComponentPosition ( sourcecar, rightfrontdummy ) 

All coronas spawn at 0.0.0 did i mark something wrong?

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...