What i need, as the title says, is the name of the current common event that is being executed. The scriptcall has to be done inside the common event, the result is going to be saved into a variable.
Thanks!
Thanks!
There is a couple of ways.
$dataCommonEvents[ID].namefor(let i = 1; i < $dataCommonEvents.length; i++){
const commonEvent = $dataCommonEvents[i]
const commandList = commonEvent.list
if(commandList === this._list){
const commonEventId = i
const commonEventName = commonEvent.name
break
}
}
Original thread: https://forums.rpgmakerweb.com/threads/i-need-to-obtain-the-name-of-the-current-common-event.150222/