View unanswered posts | View active topics It is currently Mon Dec 30, 2024 10:19 pm



Reply to topic  [ 6 posts ] 
 Actor attached to bunker module 
Author Message
User avatar

Joined: Wed Jul 06, 2011 5:11 pm
Posts: 226
Reply with quote
Post 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?


Thu Jul 14, 2011 5:46 am
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post 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


Thu Jul 14, 2011 7:11 am
Profile
User avatar

Joined: Mon Oct 25, 2010 5:51 am
Posts: 1198
Location: Sydney
Reply with quote
Post Re: Actor attached to bunker module
Don't forget to add PinStrength or a .lua script if you want him to stay in place.


Thu Jul 14, 2011 8:17 am
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post 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.


Thu Jul 14, 2011 8:25 am
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Tue May 25, 2010 8:27 pm
Posts: 4521
Location: Constant motion
Reply with quote
Post Re: Actor attached to bunker module
Though not adding pinstrength can make fortified bases easier to place.


Thu Jul 14, 2011 4:47 pm
Profile
User avatar

Joined: Wed Jul 06, 2011 5:11 pm
Posts: 226
Reply with quote
Post Re: Actor attached to bunker module
Alright thanks a lot guys! :)


Thu Jul 14, 2011 10:00 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.091s | 14 Queries | GZIP : Off ]