How to compile lua scripts

0

I'm working with learning how to use the lua script component, but it seems like when I make a change to a script then save and go back to the editor, the changes are not reflected when I run the game. I either have to remove the lua script component and re-add it, or sometimes I have to restart lumberyard.

已提问 7 年前299 查看次数
5 回答
0

I have been working extensively with Lua scripts recently and have had no problem with them updating when saving.

  1. What version of LY?

  2. How are you implementing the script? Component entity? Standard entity? Other?

已回答 7 年前
0

@REDACTEDUSER

1.7 but this still occurred in 1.6

The Lua Script component entity.

Is is because my setup assistant doesn't have 'compile game code' and 'compile lumberyard editor and tools' checked? I'll try installing all required plugins for those and seeing if that helps, although I was pretty sure I did in 1.6... [EDIT - did this, and the scripts still don't want to update]

已回答 7 年前
0

Hi, I have the same issues. The Lua scripts are not refreshed every time after Saving them in LuaIde Editor. As a workaround please try turn on debug mode and add breakpoint inner then usually script are updated to fresh one.

已回答 7 年前
0

Are you still having the problem? We've seen an issue that is similar to this that is happening sometimes in certain cases which should be fixed for 1.8.

已回答 7 年前
0

Hi, I need decompile file luac to lua. Someone help me please. Thanks

link file https://drive.google.com/drive/folders/1-fMSJW43fnFia2bZRxoLisRvwpHNzAU8?usp=sharing (you can edit)

已回答 6 年前

该帖子已关闭:已禁用添加新回答、评论和投票。