Editor and tools
|
08-11-2016, 02:49 PM
(This post was last modified: 08-11-2016 02:56 PM by allrounder18.)
Post: #115
|
|||
|
|||
RE: Editor and tools
OK guys I am begining to understand LUA scripts just needs some confirmation , if i am not wrong the level.failbarmenpicktray is the function with no parameters and this describe barmen with a tray () represents paramenters which in this case there is none. , local actor is the local variable named "actor" which in actual map is theactor in the level with a unique id "WR05" , if is the logical statement where as .Hasitem is a custom command which associates an item to the above "WR05" ID actor which in this is "TR01" a tray with unique ID the true statement just basically there to run the next line which is again a custom command of .dropitem and the reference to the actor and the tray unique ids.
So am i right or wrong? btw how many custom commands are there in the scripts? Also are these custom commands mainly to trigger animation which involves interaction with different objects in the game? like switching light on or off , calling for elevators , turning off/on generators etc. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)