Space Engineers

Space Engineers

ActionScript
14 Comments
ame824 20 Mar, 2023 @ 8:41am 
why are all my vars null what do I need to do? if i do "var $mass 1" for example in pb is always that define as null
EdTheRabbit 13 Aug, 2022 @ 1:01am 
This is brilliant - I'm currently using it with a second PB containing Whip's Launch A Missile Program - Actionscript is controlling all the mechanics of opening and closing weapon bays, and acting as a safety interlock using global "Armed" variables, so when I send a missile launch command, Actionscript only passes it to LAMP if the appropriate missile bay is deployed and ready to launch, preventing me from blowing holes in my own ship.
Survival Ready 28 Oct, 2021 @ 10:04am 
@Quickshadow10m - There is no way to put multiple standalone scripts in one program block, because the "Edit" field is not available for modification through the scripts API.
Quickshadow10m 27 Oct, 2021 @ 12:22pm 
ofc you would be able to set up which scripts you want, idk how, maybe copy paste in. I would say up to 10 scripts or something.
Quickshadow10m 27 Oct, 2021 @ 11:55am 
But ideally the multiscript program would run all the scripts at a set tick speed (or update speed idk not a scripter) for instance, I could set Isy inventory script to 5tps and print script to 10tps cause it is used rarely, but allow for tick speeds.
Quickshadow10m 27 Oct, 2021 @ 11:53am 
So one normal script running constantly, another that is low lag only used rarely to print
Quickshadow10m 27 Oct, 2021 @ 11:53am 
eh idk abt the server admins, but for example, isy inventory script and https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1912156094
avaness  [author] 27 Oct, 2021 @ 9:00am 
Quickshadow10m, Do you have an example of some scripts you want to run? Also, wouldnt that just get you in trouble with the server admins?
Quickshadow10m 27 Oct, 2021 @ 8:55am 
Could you make a script that allows you to run multiple scripts on one programable block? Would be rlly usefull for servers with block limits
TheLastMrG 23 Aug, 2021 @ 10:11am 
Thanks for your answer!
I hope more people will use your scirpt!
avaness  [author] 22 Aug, 2021 @ 5:20pm 
This sounds like a keen bug to me. The script has no idea whether it is singleplayer or multiplayer. Not sure what could be going on
TheLastMrG 21 Aug, 2021 @ 11:02am 
This Action Script is pretty good man!

I need some help,

I Created an offline world to test the script for allowing drilling and welding in a Safe Zone.
In my own world the scirpt is working great.

If I wanna use the script Online on a Server The checkboxes of drilling and welding and the rest, will, with the use of if and else, Check and uncheck directly.
I tried also to display on a LCD screen If the checkboxes of the safezone to allow damage or drilling, are check or unchecked. In my own world it is working great.
On the server not, It displays even when the checkbox is checked, that its unchecked.
https://pastebin.com/6Ty7V0jM


So I thought then I will use the wait function.When I use the wait function the script remains waiting and will not move to the next step of the code. Only When I check of uncheck the script will move to the next step.
https://pastebin.com/B8gGc0tw
Spike 15 Aug, 2020 @ 12:48am 
This should be a core part of the game. The built in script function is great, but it needs something simpler just like this.
GreenNarwals 14 Mar, 2019 @ 10:16pm 
Thank you. I have been waiting years for someone to make a scripting system for laymen as I am too lazy to learn scripting, myself, and expect other people to do all the hard work for me.