View unanswered posts | View active topics It is currently Mon Nov 20, 2017 8:27 am



Reply to topic  [ 4 posts ] 
 Lua on bunker modules 
Author Message
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6187
Location: In your office, earning your salary.
Reply with quote
Post Lua on bunker modules
Can you attach scripts directly to bunker modules, or do you have to use work arounds like always?

EDIT:

Nevermind, I found a better solution to what I wanted but I'm still curious lol


Sat Dec 31, 2016 5:13 am
Profile

Joined: Fri Sep 10, 2010 1:48 am
Posts: 627
Location: Halifax, Canada
Reply with quote
Post Re: Lua on bunker modules
I don't think so - bunker modules aren't MOs so they don't do update stuff I think. You can attach scripts to actors in the modules (e.g. doors, etc.) though.


Sat Dec 31, 2016 7:13 am
Profile
User avatar

Joined: Fri Dec 22, 2006 4:20 am
Posts: 4766
Location: Good news everyone!
Reply with quote
Post Re: Lua on bunker modules
Yeah, you could just include an invisible object in the script with no gravity that just runs the script you want. Hard part is deciding when to make it die, unless you make it an object aspect of the module that can actually be destroyed. (otherwise you'd be checking if pixels relative to the object are still the same material, I'd think)


Fri Jan 06, 2017 12:46 am
Profile WWW
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6187
Location: In your office, earning your salary.
Reply with quote
Post Re: Lua on bunker modules
Yeah, that's what I thought. Thanks anyways :)


Sun Jan 08, 2017 2:39 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.023s | 17 Queries | GZIP : Off ]