Author Topic: Ship lock  (Read 1706 times)

0 Members and 1 Guest are viewing this topic.

I'm sorry, can you please tell me how to completely restrict a ship from movement and later "unlock" it so it can move again?

Thanks.  :)
"Hmmm..."

 

Offline Angelus

  • 210
  • The Angriest Angel
I'm sorry, can you please tell me how to completely restrict a ship from movement and later "unlock" it so it can move again?

Thanks.  :)

Already replied in the IRC chat, but...

Set subsystem strength to 0 ( of the engines, weapons...) for a player ship, and then set it back again to 100, if you want to unlock.
The problem might be that the players ship is already damaged by that time, so you want to store the value in a variable, and use to restore it to that value again.

Play dead for AI, or above mentioned method.

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Or just use player-use-ai and give play dead orders.  Doesn't damage the engines if they are destroyable subobjects.
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

  

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
What FUBAR said. :)
Campaigns I've added my distinctiveness to-
- Blue Planet: Battle Captains
-Battle of Neptune
-Between the Ashes 2
-Blue planet: Age of Aquarius
-FOTG?
-Inferno R1
-Ribos: The aftermath / -Retreat from Deneb
-Sol: A History
-TBP EACW teaser
-Earth Brakiri war
-TBP Fortune Hunters (I think?)
-TBP Relic
-Trancsend (Possibly?)
-Uncharted Territory
-Vassagos Dirge
-War Machine
(Others lost to the mists of time and no discernible audit trail)

Your friendly Orestes tactical controller.

Secret bomb God.
That one time I got permabanned and got to read who was being bitxhy about me :p....
GO GO DEKKER RANGERSSSS!!!!!!!!!!!!!!!!!
President of the Scooby Doo Model Appreciation Society
The only good Zod is a dead Zod
NEWGROUNDS COMEDY GOLD, UPDATED DAILY
http://badges.steamprofile.com/profile/default/steam/76561198011784807.png

 
Alright, I did it. Thanks a lot  ;)
"Hmmm..."