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
@info {
Write to LС = "Угол = {Angle of hin}"
}
не сработало
@info {
Write to Имя_LCD = "Угол = {Angle of Имя_Шарнира_или _ротора}"
}
Информация автоматически не обновляется. Если нужно такое обновление, то установите таймер и на его цифровую панель поместите выполнение ПБ EasyPlay с параметром info
Run TrXX01 PB Easy Play Trailer(LiftAxle, 1)
Just published a work in progress so you can look at it here
I've added the action on hotbar 9, button 8, this runs the action (at)TrailerLiftAxle in "TrXX01 PB Easy Play Trailer" which should run (at)LiftAxle in "LDRT01 PB Trailer" and pass the argument "1".
I also tried "Run LDRT01 PB Trailer(LiftAxle, 1)", using the exact PB name, but this returns the same error as below.
Using debug I get:
TrXX01 PB Easy Play Trailer:
Recompile[1246] 23.0 ms
(at)TrailerLiftAxle : Run (1)
LDRT01 PB Traile
Recompile[28671] 11.0 ms
E405 > Compile
The code (at)block "LiftAxle, 1" not found
P.S. if your craft is published in the workshop, you can provide a link to it so that I can look at it in detail.
I want to lift/lower 1 of 8 axles on the trailer and specify which axle as an argument (to avoid having a separate block for each axle). I also want it to work with any of a range of trailers I connect to the truck, that's why I'm not just adding the trailer's Easy Play PB to the truck's hotbar.
Like in the guide, I tried:
Run PB Trailer(LiftAxle, 1)
this returns "E405 > Compile
The code block "LiftAxle, 1" not found"
I've tried as I would enter an argument on the hotbar:
Run PB Trailer(LiftAxle(1))
this returns "E410 > Compile
Arguments must be in (round brackets)"
and also:
Run PB Trailer = LiftAxle(1)
this returns "script too complex"
Am I doing this wrong? Or is passing an argument beside the block name not possible?
Fancy Status Displays v2 for visual and SDS Operational Script for menu. Recently I am finding in my Easy Play Programmable Block, in the Custom Data where the code is, somehow something is placing "---" as first part of code. I can delete it then my Easy Play codes work, but if I exit and go back in, it's back!
When i calculate:
RotorV = math(1 + ((2/3)*4))
The script returns 6.6667
However, when i calculate:
RotorV = math(1 + (4*(2/3)))
The script returns 3.6667 as it should.
Somehow the brackets are ignored in the first example.