Run LFS Script with a wheel button?
(7 posts, started )
Run LFS Script with a wheel button?
Hi all,

I have a question: Is it possible to run a LFS script (hello.lfs) with a wheel button?

For example, the script "hello.lfs" contain: /say Hello World. With my wheel Button nr. 15.


If I bind my script in autoexec.lfs with "/button 15 /say Hello World." it wont work and I get: Unknown Button Function.

And I dont want to use my ctrl, altr-f1-f12 Buttons, because they are all full already.

Is it possible in other ways?

I would be happy for an answer,
Greetings,
fireb0llch.
Try "/button 15 //hello", just a thought.
Nope, same error message: "Unknown Button Function".
?!

LFS has a seperate field to attach a script to a wheel button @the ctrl+ and alt+ sections. Only need to click on that to attach a wheel button
#5 - J@tko
Quote from cargame.nl :?!

LFS has a seperate field to attach a script to a wheel button @the ctrl+ and alt+ sections. Only need to click on that to attach a wheel button

Quote from fireb0llch :
And I dont want to use my ctrl, altr-f1-f12 Buttons, because they are all full already.

Oh, madness...

Seriously, some people have configured way too much.
The short answer is no.

The long answer is it's possible to have any number of scripts by combining LFS scripts and button marcos into a script calling tree.


";" notes comments.
"(LFS)" notes LFS scripts.
"(Marco)" notes button marcos defined in 3rd-party marco tools.


;(LFS) init
/altf 1 /run 1 ;Script pointer A init
/altf 2 /run 2 ;Script pointer B init

;(LFS) pitExit ;Load this one at pit exit
/run init ;Init pointers


;(LFS) 1
/altf 1 /run 11 ;Change pointer to 11
/altf 2 /run 12 ;Change pointer to 12

;(LFS) 2
/altf 1 /run 21
/altf 2 /run 22


;(LFS) 11
/say Hello! This is leaf 1-1.
/run init

;(LFS) 12
/say Hello! This is leaf 1-2.
/run init

;(LFS) 21
/say Hello! This is leaf 2-1.
/run init

;(LFS) 22
/say Hello! This is leaf 2-2.
/run init


;(Marco) 11 @ button_1
ALT+F1
ALT+F1

;(Marco) 12 @ button_2
ALT+F1
ALT+F2

;(Marco) 21 @ button_3
ALT+F2
ALT+F1

;(Marco) 22 @ button_4
ALT+F2
ALT+F2

Or you can bind controls like "t + H + e + l + l + o + ENTER" in your marco tool directly. The down side is you may see the HUD.

Run LFS Script with a wheel button?
(7 posts, started )
FGED GREDG RDFGDR GSFDG