#203 RegionScripts design

Đã đóng
%! (template.HTML=3 năm trước cách đây)đang mở bởi image · 0 ý kiến

Following requirements

  • Issue #202 must be completed first
  • Have a script file on a per-region basis that can control entering region and leaving region aka RegionScripts, script names would be described by the region name eg vila_terrain_r01_water_region01_l0.lua
  • Regions only tracked for EnterRegion / LeaveRegion if script file exists and function exists (save CPU cycles). From there the basic distance checks within the regions should stop excessive cpu cycles.
  • Inputs to the EnterRegion LeaveRegion should include Spawn entering/leaving, the special region arguments (water, lava, etc.)
  • /spawn details regions command, return all regions within target loc
Following requirements - [x] Issue #202 must be completed first - [x] Have a script file on a per-region basis that can control entering region and leaving region aka RegionScripts, script names would be described by the region name eg vila_terrain_r01_water_region01_l0.lua - [x] Regions only tracked for EnterRegion / LeaveRegion if script file exists and function exists (save CPU cycles). From there the basic distance checks within the regions should stop excessive cpu cycles. - [x] Inputs to the EnterRegion LeaveRegion should include Spawn entering/leaving, the special region arguments (water, lava, etc.) - [x] /spawn details regions command, return all regions within target loc
Đăng nhập để tham gia bình luận.
Đang tải...
Hủy bỏ
Lưu
Ở đây vẫn chưa có nội dung nào.