Skip to content

Bug copying target items from one spawn to another #10

@Moiras

Description

@Moiras

Hi, so after further testing I found two minor bugs, this is one of them (I'll open the other one in a separate thread).

In an spawn entity if I try to copy an item inside "targets" when I paste it into another spawn, DOOM crashes when I reload.
I found that it is caused by the program not pasting the item properly since in the txt file I find:

	targets = {
		num = 3;
		item[0] = "ai_combat_ai_fodder_soldier_shield_4";
		item[1] = {
			item[0] = "ai_combat_ai_heavy_mancubus_goo_1";
		}
		item[2] = "ai_combat_ai_heavy_dreadknight_1";
	}

Editing the text to this seems to solve the issue:

	targets = {
		num = 3;
		item[0] = "ai_combat_ai_fodder_soldier_shield_4";
		item[0] = "ai_combat_ai_heavy_mancubus_goo_1";
		item[2] = "ai_combat_ai_heavy_dreadknight_1";
	}

Normaly the program auto resolves the spawns, but when creating spawns for a spawn group with multiple targets it is sometims necesary to copy a new item into the targets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions