Module expcore.gui
Add a white bar to any gui frame
Usage:
Gui.bar(frame,100)
Functions
| Gui.set_dropdown_index (dropdown, _item) | Used to set the index of a drop down to a certian item |
| Gui.cam_link (data) | Adds a camera that updates every tick (or less depeading on how many are opening) it will move to follow an entity |
Functions
- Gui.set_dropdown_index (dropdown, _item)
-
Used to set the index of a drop down to a certian item
Parameters:
- dropdown the dropdown that is to be effected
- _item this is the item to look for
Returns:
-
returns the dropdown if it was successful
Usage:
Gui.set_dropdown_index(dropdown,player.name)
- Gui.cam_link (data)
-
Adds a camera that updates every tick (or less depeading on how many are opening) it will move to follow an entity
Parameters:
- data table contains all other params given below
Returns:
-
the camera that the function used be it made or given as a param
Usage:
Gui.cam_link{entity=game.player.character,frame=frame,width=50,hight=50,zoom=1}Gui.cam_link{entity=game.player.character,cam=frame.camera,surface=game.surfaces['testing']}