I'm messing with some iscripts and trying to find the difference between the attack25 and attack26 commands (I know virtually nothing about iscript). I've figured out that "attack25 1" will make the unit attack ground and "attack25 2" will make it attack air, but beyond that, I'm lost.
No, that's about it. attack26 bases off the weapon air/ground flags and the target's air/groundedness(set in units.dat somewhere), in case you didn't know.
attack25 1 will attack with the ground weapon.
attack25 <anything except 1> will attack with the air weapon.
attack26 will attack with ground or air depending on target.
QUOTE(Pie_Sniper @ Sep 28 2006, 06:26 PM)
attack26 will attack with ground or air depending on target.
[right][snapback]569340[/snapback][/right]
So do you mean attack26 pretty much auto selects which weapon is chosen, e.g. the goliath would shoot autocannons at ground and missles at air or is it more like the marine in which is has the same weapon for ground and air...
ADDITION:
Ahhh! My IceCC is crashing whenever I try to decompile certain unit scripts (haven't figured out all of the problem scripts yet). IceCC in written in Java and therefore will work on any machine, Windows or Mac, without any problems...
Try updating your base Iscript, as it has changed over the years. (they changed the format/opcodes a while back)
IceCC and Ice both come with manuals (I think both do anyways)
These manuals are in Adobe Acrobat format. They describe each and every little uh command pretty accurately. You might wanna check those out, just in case you didn't already know.
Not every. There are still a lot of unknown commands.
Yes there are, and we need more help solving/testing them. *hint hint*
I made a editing info textfile for iscript editing a while back which I'm still updating, but it's nowhere near complete. *hint*
[attachmentid=21203]
Oh yeah, sorry. What I should have said was most of the commands can be found and described in there. Or could it even be considered most of them?
Yes, I think most of them are.