-
Notifications
You must be signed in to change notification settings - Fork 18
Description
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.