455 B
455 B
event onNpcCreated
This event is triggered when remote NPC is created.
Original: onNpcCreated
Parameters
dictkwargs:intnpc_id: the id of the newly created remote npc.
Usage
import g2o
@g2o.event('onNpcCreated')
def onNpcCreate(**kwargs):
print(f'NPC {kwargs['npc_id']} has been created.')