• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Click to select area instant spell

Peonso

Godly Member
Joined
Jan 14, 2008
Messages
1,748
Solutions
30
Reaction score
1,529
I want to have spells triggered by words like "exori vis" that enable to select a tile, as if you are using an spell rune like "great fireball". Anyone figured out how to do it? I wouldn't like an work around with hidden items. No problem at all if it revolves at source editing client, server or even both.

If you don't want to feed me or can't be arsed to do it for whatever reason, any guidance or idea of how to implement it helps.
 
Last edited:
Solution
I remember similar thread and this is mine answer (maybe it may help you):
You may make something similar to spell "Exura Sio 'Name'", spell with paramethers for example position -> exori mas mort [1342,643,7].
How make this more player friendly (don't write a lot of numbers)?
First -> make this spell in server side.
Second -> Add functionality in client to make hotkey with spell (+ pos) on client side (easy in OTClient), function withcrosshair who cast spell to position where you select tile on map (like rune).

In client side: select hotkey -> function withcrosshair -> select using mouse in map (LMB) or cancel (RMB) -> client count pos -> add string for example 'exori mas mort'..'...
I remember similar thread and this is mine answer (maybe it may help you):
You may make something similar to spell "Exura Sio 'Name'", spell with paramethers for example position -> exori mas mort [1342,643,7].
How make this more player friendly (don't write a lot of numbers)?
First -> make this spell in server side.
Second -> Add functionality in client to make hotkey with spell (+ pos) on client side (easy in OTClient), function withcrosshair who cast spell to position where you select tile on map (like rune).

In client side: select hotkey -> function withcrosshair -> select using mouse in map (LMB) or cancel (RMB) -> client count pos -> add string for example 'exori mas mort'..' ['mousePosX()..','..mousePosY()..','..mousePosZ()..']' -> send to server like normal spell.

Lua - Use spells with crosshair
 
Solution
I want to have spells triggered by words like "exori vis" that enable to select a tile, as if you are using an spell rune like "great fireball". Anyone figured out how to do it? I wouldn't like an work around with hidden items. No problem at all if it revolves at source editing client, server or even both.

If you don't want to feed me or can't be arsed to do it for whatever reason, any guidance or idea of how to implement it helps.
When you say the spell, it should enable the useItemEx function and work like a rune from there?
 
Just a thought, if you are willing to edit whatever is required to get the accomplished goal..

The best way for this feature to be implemented would be to 'hold hotkey' to enable the cursor change, and letting go of the hotkey would cast the spell to the cursor location.
Right clicking would disable the cursor, which would allow you to let go of the hotkey without casting the spell.

But really, that would be my ideal way of having such a feature, maybe not the most feasible, scripting wise.
 
Back
Top