Space Engineers

Space Engineers

28 个评价
ActionScript
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
99.892 KB
2018 年 12 月 28 日 下午 6:48
2020 年 1 月 3 日 下午 12:14
10 项改动说明 ( 查看 )

订阅以下载
ActionScript

在 avaness 的 1 个合集中
Scripting Languages
6 件物品
描述
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://psteamcommunity.yuanyoumao.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 条留言
ame824 2023 年 3 月 20 日 上午 8:41 
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 2022 年 8 月 13 日 上午 1:01 
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 2021 年 10 月 28 日 上午 10:04 
@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 2021 年 10 月 27 日 下午 12:22 
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 2021 年 10 月 27 日 上午 11:55 
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 2021 年 10 月 27 日 上午 11:53 
So one normal script running constantly, another that is low lag only used rarely to print
Quickshadow10m 2021 年 10 月 27 日 上午 11:53 
eh idk abt the server admins, but for example, isy inventory script and https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1912156094
avaness  [作者] 2021 年 10 月 27 日 上午 9:00 
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 2021 年 10 月 27 日 上午 8:55 
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 2021 年 8 月 23 日 上午 10:11 
Thanks for your answer!
I hope more people will use your scirpt!