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


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lights on a custom enemy
jens Offline
Frictional Games

Posts: 4,093
Threads: 199
Joined: Apr 2006
Reputation: 202
#6
RE: Lights on a custom enemy

entityname_bonename_lightname should work to turn the light/on off with script.

example: if the monster is called MyMonster and the bone is NeckBone and the light is called "Light_1" SetLightActive (or whatever the script is named) should be SetLightActive("MyMonster_NeckBone_Light_1", false);

At least this is how it works when you attach stuff to bodies in entities, can't recall having tested it with bones though.
09-07-2011, 03:59 PM
Website Find


Messages In This Thread
Lights on a custom enemy - by ggstarfoxxie - 09-07-2011, 04:34 AM
RE: Lights on a custom enemy - by Tanshaydar - 09-07-2011, 03:10 PM
RE: Lights on a custom enemy - by MegaScience - 09-07-2011, 03:41 PM
RE: Lights on a custom enemy - by Tanshaydar - 09-07-2011, 03:44 PM
RE: Lights on a custom enemy - by MegaScience - 09-07-2011, 03:53 PM
RE: Lights on a custom enemy - by jens - 09-07-2011, 03:59 PM
RE: Lights on a custom enemy - by MrBigzy - 09-07-2011, 04:08 PM
RE: Lights on a custom enemy - by plutomaniac - 09-07-2011, 04:22 PM
RE: Lights on a custom enemy - by MrBigzy - 09-07-2011, 05:29 PM
RE: Lights on a custom enemy - by plutomaniac - 09-07-2011, 06:17 PM
RE: Lights on a custom enemy - by MrBigzy - 09-07-2011, 06:33 PM
RE: Lights on a custom enemy - by Tanshaydar - 09-07-2011, 04:38 PM



Users browsing this thread: 3 Guest(s)