Skip to content

Jumping to event initialization does not work with InitializeCommonEvent in DS3 #27

@PositronCannon

Description

@PositronCannon

Example:

$InitializeCommonEvent(20009914);

$Event(20009914, Default, function() {
});

CTRL+click on the event ID within the event itself fails to find the initialization. The same thing happens when using InitializeCommonEvent without the $.

However, in the opposite direction it does work. CTRL+click on the event ID in the initialization does jump to the event itself.

I imagine this is due to common_func events in DS3 apparently not supporting event slots? (at least in DarkScript? The vanilla game does call common_func events multiple times from the same map script, but there's no slots indicated). So DarkScript may be looking for the 2nd parameter in the initialization for the event ID, rather than the first.

To be clear, this is for initializations of common_func events from common_func itself, which works for other games, just not DS3. I don't expect it to jump to initializations in individual map scripts since that wouldn't make much sense.

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