y u no work!!
SetUnitLineage must be removed, it is used in several places and ie after the commander can not move anymore after upgrading due to lua errors
http://springrts.com/phpbb/viewtopic.ph ... 8&p=493353 etc
XTA and engine 0.83
Moderators: Moderators, Content Developer
Re: XTA and engine 0.83
Why was setunitlineage removed? How do we now set the lineage to a morphed commander then?
Re: XTA and engine 0.83
Anyway it's not like lineage matters since game end condition is removed too....
Re: XTA and engine 0.83
Ok, that's a good explanation.
Do we need to make all widgets backwards compatible? I believe 0.83 has a new function that is called "Spring.PlaySoundStream()", which I believe isn't supported in previous versions. How do I check for a spring version, is there a function such as "Spring.getVersion()" ?
Do we need to make all widgets backwards compatible? I believe 0.83 has a new function that is called "Spring.PlaySoundStream()", which I believe isn't supported in previous versions. How do I check for a spring version, is there a function such as "Spring.getVersion()" ?
Re: XTA and engine 0.83
yes there is. there are at least two even, and they are documented on the wiki.
Re: XTA and engine 0.83
Okay, but it turned out the PlaySoundStream works already, it's just that it doesn't work with a mono vorbis file (needs stereo), whereas PlaySoundFile does work with that.
That's not documented in the wiki and took me some time to sort out
That's not documented in the wiki and took me some time to sort out