Space Engineers

Space Engineers

27 ratings
ActionScript
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
99.892 KB
28 Dec, 2018 @ 6:48pm
3 Jan, 2020 @ 12:14pm
10 Change Notes ( view )

Subscribe to download
ActionScript

In 1 collection by avaness
Scripting Languages
6 items
Description
This project has been abandoned and will no longer receive any support

A basic form of scripting that can be used by anyone. Editing the functionality of your script is very simple. Scripts are stored in the CustomData of the programmable block. You can conditionally activate actions, set block properties, delay actions, and much much much more. See this guide for more information on the capability of ActionScript: https://steamproxy.com/sharedfiles/filedetails/?id=1680522101

If you run into any issues, feel free to let me know and send your code. I am happy to help.
Remember to leave a rating if you like ActionScript!

This script supports the Control Module mod and the Hud Alert API mod.
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://steamproxy.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!