| Blockland Forums > Modification Help |
| Sun Lightning Changes |
| (1/3) > >> |
| Bauklotz:
If I change color, azimuth, etc of the Sun object, how would I simulate a click of the Apply button (server-sided)? |
| Amade:
Just delete and re-create it. Same for the skybox if you're looking to tamper with that too. |
| Truce:
--- Quote from: Bauklotz on January 19, 2011, 05:30:29 PM ---If I change color, azimuth, etc of the Sun object, how would I simulate a click of the Apply button (server-sided)? --- End quote --- To literally simulate the apply button (must be a listen server, not dedicated): --- Code: ---tree(); InspectTreeView.onSelect(%sun); InspectFields.setAllGroupStateScript(%sun,1); InspectStaticcolor0_16.setValue("0.6 0.6 0.6 1"); InspectStaticambient0_16.setValue("0.5 0.5 0.5 1"); InspectApply(); canvas.popDialog(InspectDlg); --- End code --- There's supposedly an inspectPostApply method but it's never worked for me. |
| phflack:
to simulate the apply button, i normaly go and find the console command with the gui editor :D |
| Bauklotz:
Is there any way to do this on dedicated servers? |
| Navigation |
| Message Index |
| Next page |