Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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.