eddieb
Vice Admiral
Yes, the correct code isKyran said:I've been trying to get this one working. I have a ship named $all1 and it is an enemy. When I enter the nav I set Ship_setForceEject("$all1", true); and it doesn't seem to work.
I've also tried
- Ship_setForceEject($all1, true);
- Ship_setForceEject("$all1", true forceject);
- Ship_setForceEject("$all1", false);
- Ship_setForceEject(shipid, true);
- Ship_setForceEject(all1, true);
- Ship_setForceEject("$all1", forceject);
- Ship_setForceEject("$all", forceeject);
Code:
Ship_setForceEject("$all1", true);
But there was a bug on my part. I've posted a new patch here.
This allows enemies to eject, and gets rid of the spinning on ejects.
http://flightcommander.solsector.net/FlightCommander1.4patch2.zip
Yeah, probably will do something roughly like that.Kyran said:I've been thinking about how the captions for wingmen might work...
There are really two questions here, can the engine do it, and is there a way to see it from a script. The engine does not keep track of kills done by anyone but the player currently. The rest of them are variables in the engine which currently aren't exposed to scripting just yet, but good ideas.Kyran said:
- A script to determine whether or not a ship is friendly.
- A tigger thats set if you open fire on team mates.
- A script to see which ship shot a particular ship down.
- A script to determine how many ships the player has shot down.