Smodd wrote:Please give a introduktion (for example a .pdf) for the strings/commands programmed in in LUA.
I seem to recall seeing something like this around on the DevWiki. I was sure there was a nice comprehensive list, but I cannot find it now. If I find it again, I'll let you know. In the mean time, maybe the
LUA Page will help, since it seems to have some of this?
As for your other question:
Smodd wrote:After the CEO stoped talking the buttons for "Foundations" and "Objects" as well as the "Large Jail Door" is flashing. Where the hell is this in the code?
I suspect you're looking for the Objective calls, as seen here:
Code: Select all
Objective.Create ( "DeathRow_BuildOuterDoor" )
Objective.TargetZone ( 19, 47, 20, 47 )
Objective.RequireObjects ( "JailDoorLarge", 1 )
It looks to me like the game knows how to build various objects. This means that by calling Objective.RequireObjects with the objects you want, the game will automatically make the proper buttons flash.
Does that do the trick?
-Roomon1