Donation

Help us to pay our server!
(: Consider a donation :)



Social Media

  • Facebook
  • Google+

Currently Online

Latest Posts

Topic: lua: Get click position?

kaputtnik
Avatar
Joined: 2013-02-18, 20:48
Posts: 1363
Ranking
One Elder of Players
Location: Germany
Posted at: 2018-01-12, 21:25

Is it possible to obtain on which field/node a player has clicked?

Say i want to determine if an immovable stand on this field/node.

I can check which 'kind' of field_action window is open, but this gives me no information about the field itself. Especially for non building fields.


Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 2398
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2018-01-17, 15:01

We don't have a Lua function for that yet - please open a bug report.


Top Quote