Home   Help Search Login Register  

Author Topic: fires  (Read 1225 times)

0 Members and 1 Guest are viewing this topic.

minimilo

  • Guest
fires
« on: 17 Jul 2004, 17:25:13 »
is there away in which a fire can be lit on a radio command, or by moving within a trigger?

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:fires
« Reply #1 on: 17 Jul 2004, 17:38:00 »
In the triggers 'On Activation' field put:

firename inflame true

firename will be whatever name you give your fire.

If you want the fire to go out again when you leave the trigger area then make the trigger 'Repeatedly' and put:

firename inflame false

in the On Deactivation field.


Planck
I know a little about a lot, and a lot about a little.

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:fires
« Reply #2 on: 17 Jul 2004, 19:39:04 »
remember if you want the fire to be lit by radio, to set 'activated by' to 'Radio Alpha' or whatever radio you want, and 'Present'  ;)
Proud Member of the Volunteer Commando Battalion

minimilo

  • Guest
Re:fires
« Reply #3 on: 17 Jul 2004, 22:40:11 »
thnx alot, also, is there any where that i can find out other basic commands
« Last Edit: 17 Jul 2004, 22:40:47 by minimilo »

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:fires
« Reply #4 on: 17 Jul 2004, 22:46:47 »
Yes go to the Editors Depot on this site and get the Command Reference by BIS.

Plenty of tutorials there also.


Planck
I know a little about a lot, and a lot about a little.

minimilo

  • Guest
Re:fires
« Reply #5 on: 17 Jul 2004, 22:49:06 »
cheers again, and regarding the fire, canm i get it to light between certain times?

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:fires
« Reply #6 on: 17 Jul 2004, 22:55:16 »
as in time you set or the game time (as in what time it is at the moment, say 7pm etc)?

there is a way to check this, i think you'll find it in the command reference... i cant remember how to do it off hand, but i know where it can be found - check out the grouplink 2 script,... that checks what time of day it is to make AI choose between firing flares or throwing smoke when engaging the enemy  :)
Proud Member of the Volunteer Commando Battalion

minimilo

  • Guest
Re:fires
« Reply #7 on: 17 Jul 2004, 23:22:41 »
asin the time within the game, also, is there a way to randomise game time and date?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:fires
« Reply #8 on: 18 Jul 2004, 00:37:50 »
Try something like this in your init.sqs file:-

skipTime (random 12)

which should give you a random time between the time you set in the mission editor and 12 hours later.    Maybe if you use big enough numbers it will change the date, dunno.    If so you just set the date to 1 January in the mission editor.   Syntax not guaranteed.

To make a fire come on at a certain time you could use a trigger:

Condition:  dayTime > 17.2
On Activation:   fire1 inflame true

Not guaranteed, you might need to play with it a little to make it work.

I strongly recommed you read the command reference from start to finish, a bit like a book.    Don't go into the commands in detail, just get an idea of what's there.  The online version has many helpful Comments and although the unofficial version is a little dated, it sometimes gives a very useful perspective on a command.
Plenty of reviewed ArmA missions for you to play

box

  • Guest
Re:fires
« Reply #9 on: 18 Jul 2004, 04:05:05 »
if you want a radio message to make sumthing happen like this fire thing dont you need to do even more 'editing' to make somone say that radio command, because ive never seen an action to say 'alpha this' etc in the command menu

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:fires
« Reply #10 on: 18 Jul 2004, 07:47:07 »
No you just set the trigger to activate on the radio command just as Messia said.  Then in the game if you press 0 you will see a menu with 0 for the radio, press 0 again and you will see the list of radio options.  What you get there is whatever you put in the text field of the trigger.  Of you have put nothing then you will get the default: Radio Alpha etc.

Step by step:

create a trigger
For Activation: select Radio Alpha.
Keep the condidion set to: this
set On Activation to:  fire1 inflame true
In Text put: Baby light my fire

Save it.

Place a fire and give it the Name:  fire1

In the game just press 0 0 1 to light the fire.

Read the Comref guide on this site.

Experiment