Home   Help Search Login Register  

Author Topic: Stringtable scripting  (Read 905 times)

0 Members and 1 Guest are viewing this topic.

Ace Productions

  • Guest
Stringtable scripting
« on: 09 Jul 2004, 20:13:09 »
Hi again,

Is it possible to script in the stringtable?

i.e.

STRM_Company,Hint Format ["%1",Name Player]: Boys we have company!,



Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Stringtable scripting
« Reply #1 on: 09 Jul 2004, 20:17:17 »
No.
Not all is lost.

Ace Productions

  • Guest
Re:Stringtable scripting
« Reply #2 on: 09 Jul 2004, 20:22:00 »
Very encouraging Artak!!!

Thanks anyway. :-\

Duke Dax

  • Guest
Stringtable scripting (2)
« Reply #3 on: 09 Jul 2004, 22:17:29 »
Don't know why threads are closed so rash...

Of course it is possible to "script" in stringtable!
The stringtable is just a table full of strings! And what can you do with strings? You can execute them with "call"!!!

STR_BLA,   "hint format [{%1},name player]",...

To execute htis string, just type:

call (localize STR_BLA)


And next time plz don't close threads so fast!!!

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Stringtable scripting
« Reply #4 on: 10 Jul 2004, 03:37:04 »
* Sui gets out his sticky tape...

There we go :)

Ace, if you get a 'no' response you can always leave the topic open in hope of a 'yes' answer. Up to you mate ;)