安装 Steam						
					
				
				
									登录
											 | 
						语言
						
																																															繁體中文(繁体中文)
																													日本語(日语)
																													한국어(韩语)
																													ไทย(泰语)
																													български(保加利亚语)
																													Čeština(捷克语)
																													Dansk(丹麦语)
																													Deutsch(德语)
																													English(英语)
																													Español-España(西班牙语 - 西班牙)
																													Español - Latinoamérica(西班牙语 - 拉丁美洲)
																													Ελληνικά(希腊语)
																													Français(法语)
																													Italiano(意大利语)
																													Bahasa Indonesia(印度尼西亚语)
																													Magyar(匈牙利语)
																													Nederlands(荷兰语)
																													Norsk(挪威语)
																													Polski(波兰语)
																													Português(葡萄牙语 - 葡萄牙)
																													Português-Brasil(葡萄牙语 - 巴西)
																													Română(罗马尼亚语)
																													Русский(俄语)
																													Suomi(芬兰语)
																													Svenska(瑞典语)
																													Türkçe(土耳其语)
																													Tiếng Việt(越南语)
																													Українська(乌克兰语)
																									报告翻译问题
							
						
 
											 
													

 
						

 
			 
						





I don't really understand how to put a global varible which is a name of a group in a foreach loop
maybe I'm thinking too complex for this!?
var result "my text here" & *$globalvariable & "further text here"
Also, do you have any trigonometry functions in the script, as I've found myself wanting to use them for precise positioning of some mechanical stuff?
I'm trying to work this with the LAMP script by Whiplash for control over specific homing missiles - I'd normally send the following argument to the lamp pb:
"fire --count x --range y z"
I'd like to be able to generate a string so I can insert the variables x, y and z into the argument so I don't have to do repeated calls to the LAMP pb within an overly large script.
Anyway you can help on how to do this please?
Easy automation requires the argmuent "codesource(codename)", where codesource is a block with the easy automation pseudocode in its custom data, and codename is the name of a specific section of the pseudocode. In Actionscript I am running:
pb "pb_easyautomation" "codesource(codename)"
But it doesn't matter really, it doesn't seem to be a syntax thing or anything like that. There are mutliple error messages that easyautomation would send when a bracket is missing or codesource/codename aren't found. The error I am getting is specific to the argument missing completely.
Other progammable blocks will receive the whole argument just fine, just not easyautomation for some reason. And like I said, once control module is removed from the world (or from actionscripts internal code), everything works as expected. It's a really weird bug.
Got a testworld with everything set up for testing, can send it to you later.