2025-07-20 05:35 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002492Spring engineUnit Scriptingpublic2011-06-22 01:04
Reporteruser744 
Assigned Tohoijui 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version0.82.7+git 
Target VersionFixed in Version0.82.7+git 
Summary0002492: unit_script.lua from springcontent.sdz uses .n
DescriptionTested with spring_0.82.3-2297-g26b01f8.exe

base\springcontent.sdz\LuaGadgets\Gadgets\unit_script.lua
this file uses weapons.n in two places
->lua unit scripts do not work on units with a weapon

ie from http://code.google.com/p/springtutorialgame/source/browse/#svn%2Ftrunk%2FSpringTutorialGame.sdd

only the "simplefactory", "buildervehicle" and "simplehover" work.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0006800

hoijui (reporter)

resolved by:
https://github.com/spring/spring/commit/6d3a71e1d95742dcd2158735c46398b12b55daa5

thanks knorke :-)
+Notes

-Issue History
Date Modified Username Field Change
2011-06-22 00:28 user744 New Issue
2011-06-22 00:28 user744 Graphics Card => unknown
2011-06-22 01:04 hoijui Note Added: 0006800
2011-06-22 01:04 hoijui Status new => resolved
2011-06-22 01:04 hoijui Fixed in Version => 0.82.7+git
2011-06-22 01:04 hoijui Resolution open => fixed
2011-06-22 01:04 hoijui Assigned To => hoijui
+Issue History