Guys, any ideas how to solve this: I want my spear to reach two tiles, which is easy done. But I also want it to reach the target on the second tile even if there is an actor on the first tile. But the spear only should ignore actors, not obstacles like walls or trees. Is there a way to implement?
Thanks!
Sorry, I didnt get it. What means LOS "blocking obstacle region"?
Hi, is the next update going to fix the errors when you have no skills or no items ?
would be an option, but unfortunately this doesnt work. I use the following commands:
<letbs>
scope_options: through_obstacles
scope: line(2)
</letbs>
No matter if an enemy, actor, region 249 or region 250, it always will be recognized from the engine as an obstacle. So no chance for actor "1" to hit enemy "3" 🙁
First off, I love this engine, and I plan on using it for my personal projects in the future. Thank you so much and keep up the great work!
Secondly:
TypeError: Cannot read property 'select' of undefined
at Function.BattleManagerTBS.positioningSelect (LeTBS.js:2165)
at Function.BattleManagerTBS.selectNextStartCell (LeTBS.js:2268)
at Function.BattleManagerTBS.waitForPositioningInput (LeTBS.js:2137)
at Function.BattleManagerTBS.updatePositioningPhase (LeTBS.js:2082)
at Function.BattleManagerTBS.updatePhase (LeTBS.js:1909)
at Function.BattleManagerTBS.update (LeTBS.js:1791)
at Scene_Battle.update (LeTBS.js:971)
at Function.SceneManager.updateScene (rpg_managers.js:2024)
at Function.SceneManager.updateMain (rpg_managers.js:1983)
at Function.SceneManager.update (rpg_managers.js:1907)
Can anyone tell me what this means? Probably an amateur mistake, but I can't javascript for the life of me. If anyone's willing to help me with this (And what will likely be a long chain of comments of me asking for help after more issues like this come up), it'd be absolutely fantastic. Thanks!
I have a problem with projectiles: As in my project there are not only bows but also slings I want to add a projectile "stone".
I did it in 4 steps but it doesnt work.
1) First I put a stone-graphic (.png) into img/LeTBS/Projectiles
2) The I opened LeTBSConfig.js and edited it:
Lecode.S_TBS.Config.Projectiles = {
"sling_stone": {
filename: "Stone",
adapt_angle: true,
speed: 5,
jump: 150
},
3) And added a sequence:
/*-------------------------------------------------------------------------
* Your Sequences
-------------------------------------------------------------------------*/
"sling": [
"play_pose: user, atk",
"wait: 10",
"projectile: sling_stone, user_cell, cursor_cell",
"effects: {aoe}_battlers, current_obj, obj_anim",
"wait: 60"
],
4) Then I created the weapon "sling" and added the following into notes:
<letbs>
scope: circle(4,2)
sequence: sling
</letbs>
But when I want to use the sling in test-game, I get this message:
TypeError
Cannot read property 'slice' of undefined
Anyone an idea what could be the reason for that?
Thanks!