Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Model Editor Help Attaching lights to entities
HugoLafisques Offline
Junior Member

Posts: 4
Threads: 1
Joined: Oct 2013
Reputation: 0
#4
RE: Attaching lights to entities

For some reason i'm getting the error 'OnAutoDisable' is not a valid data type?

I'm probably doing this completely wrong, but here's my function:

void enemylight(string &in EntityName, OnAutoDisabled)
{    
FadeLightTo("servant_grunt_light", 0, 0, 0, 0, 0, 0.1);
}

Edit:

Also in the model editor would the light be named pointlight_1, then outside of that it would be referred to as "servant_grunt_1_pointlight_1" ?
(This post was last modified: 10-24-2013, 04:57 PM by HugoLafisques.)
10-24-2013, 04:53 PM
Find


Messages In This Thread
Attaching lights to entities - by HugoLafisques - 10-23-2013, 03:14 PM
RE: Attaching lights to entities - by Acies - 10-23-2013, 09:01 PM
RE: Attaching lights to entities - by HugoLafisques - 10-24-2013, 04:53 PM
RE: Attaching lights to entities - by Acies - 10-24-2013, 06:41 PM
RE: Attaching lights to entities - by Acies - 10-25-2013, 09:07 PM



Users browsing this thread: 1 Guest(s)