Just what the title says. Yes, I have "cantbetransported=1;" in the FBI, but this doesn't seem to do anything in spring anyway.
I've also tried setting its maximum transporting size to something smaller than it is (set for 3, transport is 4x4), but no dice.
The unit is the Core Intruder from TA Power: http://www.planetannihilation.com/tapow ... der-UH.zip
Ideas anyone?
Unit picks itself up and flies away
Moderator: Moderators
- SwiftSpear
- Classic Community Lead
- Posts: 7287
- Joined: 12 Aug 2005, 09:29
That's no problem, I want this thing to be securely attached to the ground ^_^
Think you could apply your knowledge here next? http://taspring.clan-sy.com/phpbb/viewtopic.php?t=2718
Think you could apply your knowledge here next? http://taspring.clan-sy.com/phpbb/viewtopic.php?t=2718
I wish some dev could code something that check if attaching a unit won't create a looping attach relationship.
Something like:
If unit u(1) is running the script command to grab unit u(0), then check that unit u(0) isn't the same as u(1), and if u(1) is already attached to a unit, name that unit u(2) and check that unit u(2) isn't the same as unit (0), and if unit u(2) is attached to a unit, name that unit u(3) and check that u(3) is disctinct from u(0), and .... check that if unit u(k) is attached to a unit, call that unit u(k+1) and check that u(k+1) is distinct from u(0).
I mean, climb down the attach relationships in the sense attachee -> attacher and check at every step the unit isn't the one that we're about to attach at the top.
Add that check both in the script interpreter when an "attach" command is encountered, and in the loading thing that makes a unit choose something to load.
Something like:
If unit u(1) is running the script command to grab unit u(0), then check that unit u(0) isn't the same as u(1), and if u(1) is already attached to a unit, name that unit u(2) and check that unit u(2) isn't the same as unit (0), and if unit u(2) is attached to a unit, name that unit u(3) and check that u(3) is disctinct from u(0), and .... check that if unit u(k) is attached to a unit, call that unit u(k+1) and check that u(k+1) is distinct from u(0).
I mean, climb down the attach relationships in the sense attachee -> attacher and check at every step the unit isn't the one that we're about to attach at the top.
Add that check both in the script interpreter when an "attach" command is encountered, and in the loading thing that makes a unit choose something to load.
Last edited by zwzsg on 31 Oct 2005, 22:43, edited 1 time in total.
I need your godly scripting skills here zwzsg! http://taspring.clan-sy.com/phpbb/viewtopic.php?t=2718