Data Realms Fan Forums
http://45.55.195.193/

Actor attached to bunker module
http://45.55.195.193/viewtopic.php?f=1&t=24571
Page 1 of 1

Author:  Pantera1993 [ Thu Jul 14, 2011 5:46 am ]
Post subject:  Actor attached to bunker module

Is there any way to make an actor that is attached to a bunker module, and if so, how would I make that?

Author:  Asklar [ Thu Jul 14, 2011 7:11 am ]
Post subject:  Re: Actor attached to bunker module

In the bunker module code add:

Code:
   AddChildObject = SOPlacer
      PlacedObject = [Type of actor, like ACrab or AHuman]
         CopyOf = [PresetName]
      Offset = Vector
         X = 0
         Y = 0

Author:  Kettenkrad [ Thu Jul 14, 2011 8:17 am ]
Post subject:  Re: Actor attached to bunker module

Don't forget to add PinStrength or a .lua script if you want him to stay in place.

Author:  Asklar [ Thu Jul 14, 2011 8:25 am ]
Post subject:  Re: Actor attached to bunker module

Oh yeah, forgot that part.

If the actor doesn't has PinStrength then it would appear there just like that and will move freely.

Author:  Roast Veg [ Thu Jul 14, 2011 4:47 pm ]
Post subject:  Re: Actor attached to bunker module

Though not adding pinstrength can make fortified bases easier to place.

Author:  Pantera1993 [ Thu Jul 14, 2011 10:00 pm ]
Post subject:  Re: Actor attached to bunker module

Alright thanks a lot guys! :)

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/