Valery
Posts: 2196
|
I had a single constant crash, when using "advanced map infos" mod, clicking on the left corner of a warrior tomb (this didn't occur in 2.46, tried). I changed the code to exit if no yellow square and now is going ok.
|
|
24.04.2015 16:03 |
|
Berserker
Posts: 16657
|
|
24.04.2015 22:47 |
|
Valery
Posts: 2196
|
|
24.04.2015 22:56 |
|
Valery
Posts: 2196
|
Some objects have multiple square size, so if you code to respond on click-position, then click not on entrance, I get the erm dump thing.
But I think this is normal, even in 3.56 sorcery script, Fnord adds +1 or -1 to position if player clicks left/right (warrior tomb work that way). But this is not always possible; for example, prisons have one red/one yellow square then 2 empty squares, so is impossible to know where the player clicks. So I think must code exit if no yellow square.
|
|
24.04.2015 23:56 |
|
Berserker
Posts: 16657
|
|
25.04.2015 00:36 |
|
gamecreator
Posts: 7107
|
|
25.04.2015 03:23 |
|
Berserker
Posts: 16657
|
|
25.04.2015 04:11 |
|
gamecreator
Posts: 7107
|
|
25.04.2015 04:16 |
|
Berserker
Posts: 16657
|
|
25.04.2015 04:27 |
|
gamecreator
Posts: 7107
|
|
25.04.2015 11:11 |
|
Berserker
Posts: 16657
|
|
26.04.2015 00:56 |
|
gamecreator
Posts: 7107
|
|
26.04.2015 01:45 |
|
gamecreator
Posts: 7107
|
|
26.04.2015 12:53 |
|