> For the complete documentation index, see [llms.txt](https://xeavin.gitbook.io/the-insurgents-handbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xeavin.gitbook.io/the-insurgents-handbook/scripts/vm-call-targets/set-summon-effect-filter-status.md).

# Set Summon Effect Filter Status

### Signature

```c
void set_summon_effect_filter_status(int type, int state); //id:0x0508
```

### Description

Enables or disables the on-screen effect used for Espers that were either summoned by the party or spawned in a location.

### Arguments

#### Type

Controls which type of effect will be displayed (0 -> 1).

If it's 0, it will be the one of the currently summoned Esper.

If it's 1, it will be the one of the Esper in the current location.

#### State

Controls whether the effect will be disabled (0) or enabled (1).

### Notes

{% hint style="warning" %}
If the type argument is 0, this function will just return if any of the following conditions apply:

* An Esper is currently not summoned.
* A Chocobo is currently summoned.
* The current location is a town.
* The player is in an event (e.g. cutscene).
  {% endhint %}

{% hint style="warning" %}
If the type argument is 1, this function will just return if the current location includes no Esper. The exact specifics are unknown, but its definitely model related.
{% endhint %}

{% hint style="info" %}
If both effects are enabled at the same time, the effect from the summoned Esper will overwrite that from the Esper in the current location.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://xeavin.gitbook.io/the-insurgents-handbook/scripts/vm-call-targets/set-summon-effect-filter-status.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
