Cephas369
Recruit
Code on mission_templates:
Looking on the wse_crash_log.txt file i have this:
When i enter on a quick battle and someone get's wounded the game crashes and closes(ti_on_agent_killed_or_wounded, 0, 0, [],
[
(store_trigger_param_1, ":dead_agent_no"),
(agent_get_position, pos2, ":dead_agent_no"),
(map_get_random_position_around_position, pos1, pos2, 2),
])
Looking on the wse_crash_log.txt file i have this:
I only get this when i put the map_get_random_position_around_position function line, does anyone know how can i fix it ?Type: EXCEPTION_ACCESS_VIOLATION (0xC0000005, 0x00000000, 0x00000010)
> Stack trace
0x00429B7B mb_warband.exe+0x29B7B (??+0x0)
0x005426BA mb_warband.exe+0x1426BA (??+0x0)
0x0315BD34 ??+0x315BD34 (??+0x0)
0x0315BD2C ??+0x315BD2C (??+0x0)
0x42E5A393 ??+0x42E5A393 (??+0x0)
0x42E5A393 ??+0x42E5A393 (??+0x0)
> Scripting context
Statement block: Mission Template [35] mst_quick_battle_battle Trigger [6] Consequences
Statement: 3
Opcode: 1627