[Orion] Script to target the square I am standing on
[Orion] Script to target the square I am standing on
I'm looking for a basic script to target the square I am standing on. I want to be able to cast a spell and target the ground beneath me every time. Anyone have something like this they would be willing to share?
Alibaster in game!!
Re: [Orion] Script to target the square I am standing on
cast "Poison Field"
waitfortarget 15000
targettileoffset 0 0 -0
waitfortarget 15000
targettileoffset 0 0 -0
Always remember to pillage before you burn!-----------Unknown
Re: [Orion] Script to target the square I am standing on
Hello, I randomly stumbled on this post as the server went down. lol
The references on the Orion client are quite solid, below codes are from the manual.
You should be able to get the current character position with
And I think you can refer to below (from the manual).
The references on the Orion client are quite solid, below codes are from the manual.
You should be able to get the current character position with
Code: Select all
int obj.X();
Result: X object coordinates in the world.
int obj.Y();
Result: Y object coordinates in the world.
int obj.Z();
Result: Z object coordinates in the world.
Code: Select all
Call variants:
Orion.TargetTile('tileFlags');
Orion.TargetTile('tileFlags', x, y, z);
Arguments:
tileFlags - string
(Example: 'lasttile')
x - integer - X coordinate in the world
y - integer - Y coordinate in the world
z - integer - Z coordinate in the world
Result: does not return a value.