Markus
2011-01-06 13:47:22
does reflection always return orientation 180 in NPCs?
Code:
Output:
Code:
hoi := GetNPCs;
for i := 0 to high(hoi) do
begin
if pos('Autumn', hoi[i].Name) <> 0 then
begin
writeln('Elemental @ : '+inttostr(hoi[i].Tile.x)+', '+inttostr(hoi[i].Tile.y)+' - '+inttostr(hoi[i].Orientation));
end;
end;
Output:
Elemental @ : 2900, 5454 - 180
Elemental @ : 2905, 5451 - 180
Elemental @ : 2917, 5457 - 180
Elemental @ : 2908, 5455 - 180
Elemental @ : 2907, 5460 - 180
Elemental @ : 2902, 5449 - 180
No that's not right as they're all facing some other side. Using latest reflection using built-in Simba updater.