Home   Help Search Login Register  

Author Topic: radio & scripts, and my keyboard  (Read 728 times)

0 Members and 1 Guest are viewing this topic.

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
radio & scripts, and my keyboard
« on: 16 Apr 2003, 00:41:52 »
  :) Ellöw, all.

Did anyone of yer ever wondered if it's possible to (via scrolls) detect when/if a keyboard button is in use?

Off course, the OFP engine can detect if actual buttons are pushed ( ::) ) but I wuz wondering if it can be set to detect if I use a specific radio/action button ( = some code is activated within the OFP engine, right?) ???


 :D sounds mad, Tombs' gone crazy again? prolly yeah but here's what I'm after :


Instead of some "addAction" call for support (or any map clicking etc.) I wanna be able to call for support when I press the "WHERE ARE YOU"-button ( #5 on my keyboard).  8)

BUT.... only if all my fella troopers are wasted (regardless to wether I am leader or not).

I also have some other things in mind for this, but I thought I might ask here first before thowing my empty head into the void of tombish contemplation and thinking (which most times happens on my sofa btw).  ::)  ;D


 ??? Should I skip the 'button' stuff and just use regular conditions & loops or what?!

Well, basically I'd like to see some interaction between my default RADIO #keys and the various scripts in my missions. And this is one example of that (at a very rough stage, in fact so rough that it just came to me)  :-X ::)

Is this possible... activating scripts via the various radio keys if this & that cond. is true?  :)


P.S.   yes, I know we have the "001", "002" etc. radio keys.... thats not it.


« Last Edit: 16 Apr 2003, 00:46:04 by Tomb »

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:radio & scripts, and my keyboard
« Reply #1 on: 16 Apr 2003, 00:46:41 »
no way :P

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:radio & scripts, and my keyboard
« Reply #2 on: 16 Apr 2003, 00:57:38 »
sure? why not?

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:radio & scripts, and my keyboard
« Reply #3 on: 16 Apr 2003, 01:06:10 »
cuz dere is no way 2 check if da player pressed on radio button xept da reg 001 002 etc :P

unles som1 can hack intoda data of OFP nd check wat da radio botuns activate (but dont ask me :P ;))

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:radio & scripts, and my keyboard
« Reply #4 on: 16 Apr 2003, 01:20:38 »
would ya like to hack, m8  ??? ;D

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:radio & scripts, and my keyboard
« Reply #5 on: 16 Apr 2003, 01:22:22 »
i wont know were 2 start :P

nd i have enough probs in my life w/o it :P

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta