Jump to content
willowfork fire capt

Putting lights on a Person

Recommended Posts

Just like vehicles, yes. Animations will make it look kind of weird when the light doesn't move with the person, of course.

Theoretically, another way would be to create a flashlight object (with a light already in it), place it on the hand of the person via script, and then set the script to "scan" for the flashlight object and enable the light that is in it.

 

Problem is, there is no way to "aim" the flashlight in Em4, so you'll only have a single corona marking where your unit is and not actually something useful for lighting a scene for example.

Link to comment
Share on other sites

Theoretically, another way would be to create a flashlight object (with a light already in it), place it on the hand of the person via script, and then set the script to "scan" for the flashlight object and enable the light that is in it.

 

Problem is, there is no way to "aim" the flashlight in Em4, so you'll only have a single corona marking where your unit is and not actually something useful for lighting a scene for example.

 

 Would it be like adding an additional tool?

Link to comment
Share on other sites

 Would it be like adding an additional tool?

Kinda like how the LA Mod added the ballistic shield, MP5, and etc.

 

I'm not sure with the scanning and lighting part. Those are just theories. The principle in this lies in the PutObjectInRightHand() function.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...