Home   Help Search Login Register  

Author Topic: Defined Variable and .ext  (Read 853 times)

0 Members and 1 Guest are viewing this topic.

Offline RujiK

  • Members
  • *
  • KoKo Puh-Fizzles!
Defined Variable and .ext
« on: 12 Feb 2005, 06:41:03 »
Is it possible to use a Defined Varible in the description.ext file?
What I mean by this is to create a Rsctitle and have its text be name player, for instance, or have this defined somewhere else as in the init.sqs file so "Homies_name = name player" however I cannot get this to work in the .ext file.
And of course what makes this more annoying then normal scripting is every time you get it wrong it dumps you out of the game...

Any help would be greatly appreciated.
I like your approach, lets see your departure.
Download the New Flashlight Script!

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Defined Variable and .ext
« Reply #1 on: 12 Feb 2005, 09:22:39 »
I don't think there is any way to make cutresources dynamic like that.

However, you can set the text of a DIALOG dynamically after the mission starts. Luckily for you (since you know how rscs work), dialogs are very similar to cutresources. The only visible difference in-game is that a cursor appears during dialogs, and the player can close it using the esc key. Search the ed depot for vectorboson's dialog tut to learn how to make them, and then search for razorwings' dialog maker for a handy program that will save you lots of hassle.
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Offline RujiK

  • Members
  • *
  • KoKo Puh-Fizzles!
Re:Defined Variable and .ext
« Reply #2 on: 13 Feb 2005, 00:32:31 »
No, I knew about that and actually have it, however that won't work for this sadly...
I like your approach, lets see your departure.
Download the New Flashlight Script!