Jump to content
Sign in to follow this  
Asp3ct-Sigma

Need help referencing a class

Recommended Posts

Hi everyone,

im in the process of creating a helmet attached light that can only be seen when camera  IsCameraNV(). (basically an IR strobe)

i created my custom class extending Switchable_Base, calling a custom light class extending from PointLightBase. Set up the parameters etc, cool everything works.

Now i want to make it so,that the light can only be seen when  IsCameraNV(). by adding it to the objects OnWorkStart(), (this is my assumption on the what the correct approach would be)

however now i need to reference the class DayZPlayerCameraBase for it to recognize the camera related stuff.

How do a reference a class,that is not called directly in my class?

 

 

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×