10ppiscool Posted March 29, 2023 Share Posted March 29, 2023 Hey all. I Tried the command CLUAConsole:GetGlobal("ViconiaRomanceActive","GLOBAL") And GemRb says invalid syntax Oo. I read the http://gemrb.org/GUIScript/Functions.html But i cant find out how do i check this things. Can maybe help me one how i do the correct syntax? Also Explore area syntax is wrong in the guide.ExploreArea ([explored=True]) written in the Guide. But GemRB need ExploreArea ([explored:=True]) with the " : " before the "=" This list dont work always ^^ Quote Link to comment
lynx Posted March 29, 2023 Share Posted March 29, 2023 These two: http://gemrb.org/GUIScript/functions/CheckVar.html They're all python functions, you're just calling them in WTF ways. CheckVar("ViconiaRomanceActive","GLOBAL") ExploreArea() Quote Link to comment
10ppiscool Posted March 29, 2023 Author Share Posted March 29, 2023 THANKS now i think i can work better with the guide ^^ Quote Link to comment
10ppiscool Posted March 29, 2023 Author Share Posted March 29, 2023 How i use the SetVar correct? Example: SetVar("AerieRomanceActive",3) Or SetVar("AerieRomanceActive",1) Quote Link to comment
lynx Posted March 29, 2023 Share Posted March 29, 2023 That looks fine, but if you want to change game variables, you'll have to do it via an action. You can use this: http://gemrb.org/GUIScript/functions/ExecuteString.html Quote Link to comment
10ppiscool Posted March 29, 2023 Author Share Posted March 29, 2023 (edited) Ähh like GemRB.ExecuteString("AerieRomanceActive",3) ? And! I Thank u very much for your Help ^^ Edited March 29, 2023 by 10ppiscool Quote Link to comment
lynx Posted March 30, 2023 Share Posted March 30, 2023 In the console you don't need the GemRB. prefix. Quote Link to comment
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.