Vowel
2015-04-01 14:31:29
I cannot for the LIFE OF ME, figure out how to locate an object boundary (fence, door, etc) on the screen and move the mouse to it to click.
Can someone PLEASE help?
Can someone PLEASE help?
2015-04-01 14:31:29
2015-04-01 14:43:04
Reflect.Mouse.Move(Reflect.TileToMS(Tile, Xoffset, Yoffset, Zoffset), XRandom, YRandom));
2015-04-01 14:47:30
//Way 1
ObjArray.GetAll(ObjBoundary, 15);
for I := 0 to High(ObjArray) do
if ObjArray[I].IsOnMS then
begin
Reflect.Mouse.Move(ObjArray[I].GetMSPoint, 0, 0);
WriteLn(ObjArray[I].GetId);
Wait(500);
end;
//Way 2
if Obj.Find(ObjBoundary, 7056, 15) then
Reflect.Mouse.Move(Obj.GetMSPoint, 0, 0);
2015-04-01 14:59:33
From: elfyyy
Since we don't use models…
2015-04-01 15:02:20
From: Flight
This is off subject, but why?
2015-04-01 15:12:29
From: elfyyy
It's difficult to use models with reflection in general, but is possible. Assuming you can invoke methods in SMART(you can't currently, but could be added easily) you still have to rotate and animate them manually. This takes a considerable amount of time, especially using simba with a single thread. It is possible to grab them from the cache, but you would still run into similar problems with having to animate them.
2015-04-01 15:14:10
From: Flight
I remember we just started utilizing models in Reflection 2 shortly before the cluster flutter. If I'm not mistake it was iamadam who did a lot of the work for this. I'll try digging that up.
2015-04-01 15:23:26
From: elfyyy
Nah, reflection 2 used model id's as just a different way of getting a unique ID from two objects with the same ID's
https://github.com/SRL/SRL-Reflection-2/search?utf8=%E2%9C%93&q=model
2015-04-01 15:26:54
From: elfyyy
Nah, reflection 2 used model id's as just a different way of getting a unique ID from two objects with the same ID's
https://github.com/SRL/SRL-Reflection-2/search?utf8=%E2%9C%93&q=model
2015-04-01 15:36:09
From: 3Garrett3
Does current reflection have this feature? It would make a few things easier, like tracking objects. Player animation works alright but object tracking would be faster (ie someone chops a tree down and you swing your axe for a while before the animation stops).