Hi
would someone be able to give me a hint how to do a very simple script please. I want to be able to select a ship in a wing, and then set the ammo resupply amount for all ships in that wing (for example, set EBC ammo resupply amount for a whole wing). I figured out how to do this for one ship but not a wing.
If there is already a script that does that, even better!
Thanks
Help with a short script
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Moderator (Script&Mod)
- Posts: 14571
- Joined: Sun, 20. Nov 05, 22:45
if this is about Rebirth: the scriptproperties.html file is very useful for that
just extract the related files from the cats/dats.
$ship.subordinates is a list of all followers of $ship
use it like any other list ^^

$ship.subordinates is a list of all followers of $ship

if not stated otherwise everything i post is licensed under WTFPL
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help

-
- Posts: 4
- Joined: Sat, 4. Jan 14, 23:41
-
- Moderator (Script&Mod)
- Posts: 14571
- Joined: Sun, 20. Nov 05, 22:45
in that case ***moved***linearised wrote:It's for TC, just realised I put it in the wrong forum.
for TC not really sure, but i think there was something with followers in the General Object Commands or Other Commands
if not stated otherwise everything i post is licensed under WTFPL
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
