Skip to content

npc_script_ready

Compare
Choose a tag to compare
@etorth etorth released this 09 Jun 20:54
74eb3ee
  1. NPC script runs in coroutine-thread-safe environment now.
  2. Use uidExecute(uid, [[ lua ]]) or uidQuasiFunc(uid, [[ cmd ]]) to call Player seamlessly in NPC script.
  3. Removed setGlobalTable()/getGlobalTable(), use uidExecute(uid, [[ lua ]]) to save persistent data in Player.