View unanswered posts | View active topics It is currently Fri Oct 20, 2017 10:51 pm



Reply to topic  [ 2 posts ] 
 Dropship opens hatch when doors blown off 
Author Message

Joined: Thu Feb 16, 2012 4:05 am
Posts: 36
Reply with quote
Post Dropship opens hatch when doors blown off
I'm currently trying to tweak the basegame dropships so that when they lose their doors, they are forced to open the hatch and unload all cargo. I feel confident that I could actually get the hatch opening part to work, but I can't think of a way to have the dropship detect if its doors are missing.


Thu Sep 21, 2017 6:24 am
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 8389
Location: Here
Reply with quote
Post Re: Dropship opens hatch when doors blown off
In your Create(), do a check through all MOs, find ones that have the same PresetNames as the doors and the same RootID as the dropship. Then in your Update, constantly check if your door IDs are 255 (meaning they're destroyed) and then do your door controls if so.


Fri Sep 22, 2017 4:51 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 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.024s | 15 Queries | GZIP : Off ]