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.]
PlayerRun:checkDir('block_run')
Moderator: Moderator
-
- Sher'Tul Godslayer
- Posts: 2521
- Joined: Thu Jan 23, 2003 8:13 pm
- Location: A shallow water area south of Bree
- Contact:
PlayerRun:checkDir('block_run')
"Blessed are the yeeks, for they shall inherit Arda..."
Re: PlayerRun:checkDir('block_run')
will be in 1.4 

[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning

-
- Sher'Tul Godslayer
- Posts: 2521
- Joined: Thu Jan 23, 2003 8:13 pm
- Location: A shallow water area south of Bree
- Contact:
Re: PlayerRun:checkDir('block_run')
Excellent! Much obliged.darkgod wrote:will be in 1.4
"Blessed are the yeeks, for they shall inherit Arda..."