Skip to main content

spawnBuffPod

An eventCall to spawn ana Archvile.buff totem.

Usage

item[0] = {
    eventCall = {
        eventDef = "spawnArchvile"spawnBuffPod";
        args = {
            num = 4;3;
            item[0] = {
                entity = ""; // spawnTarget
            }
            item[1] = {
                entitystring = ""; // archvileTemplatebuffpod_label
            }
            item[2] = {
                string = ""; // archvile_label
            }
            item[3] = {
                string = ""; // group_labelbuffed_ai_label
            }
        }
    }
}
  • spawnTarget is the spawn target or spawn group to spawn the Archviletotem with.at.
  • archvileTemplate is the idArchvileTemplate you want to use.
  • archvile_labelbuffpod_label is the label given tofor the Archviletotem that is spawned. This parameter is optional and can be left blank.itself.
  • group_labelbuffed_ai_label is the label givenfor the ai to demonsbuff. summonedIf by the Archvile. This parameterthis is optionalleft andblank, canall ai will be left blank.buffed.

Example Usage


item[0] = {
    eventCall = {
        eventDef = "spawnArchvile"spawnSingleAI";
        args = {
            num = 4;3;
            item[0] = {
                eEncounterSpawnType_t = "ENCOUNTER_SPAWN_IMP"; // spawnType
            }
            item[1] = {
                entity = "ai_target_spawn_46"; // spawnTarget
            }
            item[2] = {
                string = ""; // group_label
            }
        }
    }
}
item[1] = {
    eventCall = {
        eventDef = "spawnSingleAI";
        args = {
            num = 3;
            item[0] = {
                eEncounterSpawnType_t = "ENCOUNTER_SPAWN_IMP"; // spawnType
            }
            item[1] = {
                entity = "ai_target_spawn_47"; // spawnTarget
            }
            item[2] = {
                string = "buff me pls"; // group_label
            }
        }
    }
}
item[2] = {
    eventCall = {
        eventDef = "spawnBuffPod";
        args = {
            num = 3;
            item[0] = {
                entity = "ai_target_spawn_111"ai_target_spawn_451"; // spawnTarget
            }
            item[1] = {
                entitystring = "mod_template_2""; // archvileTemplatebuffpod_label
            }
            item[2] = {
                string = "superbuff heavy"me pls"; // archvile_label
            }
            item[3] = {
                string = "summons"; // group_labelbuffed_ai_label
            }
        }
    }
}

 In this example, the totem will only buff the Imp with a group_label of "buff me pls", because that matches the buffed_ai_label the totem is looking for.