MapEditor
MapEditor copied to clipboard
[Bug] some bugs
- [x] Unknown
GameObjectManager:GetEntityByGuidfunction https://github.com/BF3RM/MapEditor/blob/640b1f2d89f3b97426066094bcfb3196b9a98afa/ext/Shared/Modules/CommandActions.lua#L200 - [x]
v.valuedoesn't get passed https://github.com/BF3RM/MapEditor/blob/640b1f2d89f3b97426066094bcfb3196b9a98afa/ext/Shared/Modules/EBXManager.lua#L17 - [x] unknown
numberfunction https://github.com/BF3RM/MapEditor/blob/640b1f2d89f3b97426066094bcfb3196b9a98afa/ext/Shared/Modules/EBXManager.lua#L40 - [x]
GameObjectManager.m_Entitiesunknown https://github.com/BF3RM/MapEditor/blob/640b1f2d89f3b97426066094bcfb3196b9a98afa/ext/Shared/Types/GameEntity.lua#L66 - [ ] also
GameEntityis a bad name for a lua class since we have a real GameEntity in vext, so rename it - [x] why is this commented out? and how is this not causing errors? this is used at so many places https://github.com/BF3RM/MapEditor/blob/640b1f2d89f3b97426066094bcfb3196b9a98afa/ext/Shared/Types/GameObject.lua#L20-L25
- [ ] deprecated in lua 5.4 https://github.com/BF3RM/MapEditor/blob/640b1f2d89f3b97426066094bcfb3196b9a98afa/ext/Shared/Util/matrix.lua#L1042
- [x]
EditorCommondoesn't take any arguments https://github.com/BF3RM/MapEditor/blob/640b1f2d89f3b97426066094bcfb3196b9a98afa/ext/Server/init.lua#L14 https://github.com/BF3RM/MapEditor/blob/640b1f2d89f3b97426066094bcfb3196b9a98afa/ext/Client/init.lua#L15 - [x]
self.m_RequiredBundlesis unknown https://github.com/BF3RM/MapEditor/blob/640b1f2d89f3b97426066094bcfb3196b9a98afa/ext/Server/ProjectManager.lua#L58 https://github.com/BF3RM/MapEditor/blob/640b1f2d89f3b97426066094bcfb3196b9a98afa/ext/Server/ProjectManager.lua#L216 - [x]
Editor.m_CurrentProjectHeaderunknown https://github.com/BF3RM/MapEditor/blob/640b1f2d89f3b97426066094bcfb3196b9a98afa/ext/Client/init.lua#L134 - [x]
Editor:OnControlUpdate()doesn't take any arguments https://github.com/BF3RM/MapEditor/blob/640b1f2d89f3b97426066094bcfb3196b9a98afa/ext/Client/init.lua#L203
why is this commented out? and how is this not causing errors? this is used at so many places
Ah it is done in the functions below
also GameEntity is a bad name for a lua class since we have a real GameEntity in vext, so rename it
https://github.com/BF3RM/MapEditor/issues/331