- cleaning/moving data

- can be run as addon (mostly working)
This commit is contained in:
Slawek Mikula
2017-10-19 23:24:56 +02:00
parent 579b1b69d8
commit 08a4fcb0ee
68 changed files with 436 additions and 9775 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
mission.addExtension("MissionObject", {
mission.extension_add("MissionObject", {
type: "model",
new: func(n) {
@@ -18,7 +18,7 @@ mission.addExtension("MissionObject", {
#m.object_N = props.getNode("/sim/mission/objects", 1).addChild("model");
#m.position_N = n.getNode("world-position");
m.model = mission.put_model(m._path, m._coord, m._heading, m._pitch, m._roll);
m.model = mission.put_model(getprop("/sim/mission/root_path") ~ m._path, m._coord, m._heading, m._pitch, m._roll);
if (!m._activated)
m._hide();