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년 전284회 조회
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년 전

이 게시물은 마감됨: 새 답변, 댓글 및 투표 추가가 비활성화되었습니다.

관련 콘텐츠