Page 1 of 1


Posted: Sun Jul 12, 2015 3:02 am
by Zizzo
For future engine versions, it would be useful if the local function checkDir() in engine.interface.PlayerRun were somehow accessible to or configurable by modules --- possibly by making it a full-fledged method, or by providing some mechanism to have it check for an Entity property other than 'block_move'.

[My motivation is that T2 has terrain types that block running but not walking, like lava or deep water.]

Re: PlayerRun:checkDir('block_run')

Posted: Wed Jan 06, 2016 9:44 am
by darkgod
will be in 1.4 :)

Re: PlayerRun:checkDir('block_run')

Posted: Thu Jan 07, 2016 2:22 am
by Zizzo
darkgod wrote:will be in 1.4 :)
Excellent! Much obliged.