Home   Help Search Login Register  

Author Topic: Light a fire?  (Read 642 times)

0 Members and 1 Guest are viewing this topic.

Owens

  • Guest
Light a fire?
« on: 18 Jun 2003, 01:37:49 »
I remeber seeing something about getting a guy to light a fire a bity ago but i cant find the thread :-\
Plz could someone tell me  :).
Thx
« Last Edit: 18 Jun 2003, 01:39:32 by Owens »

Offline Wadmann

  • OFPEC Patron
  • ****
  • I'm the next evolutionary step after a llama!
Re:Light a fire?
« Reply #1 on: 18 Jun 2003, 01:48:40 »
According to the Command Ref:

fireplace inflame burn
Operand types:
    fireplace: Object
    burn: Boolean
Type of returned value:
    Nothing
Description:
    Control fireplace buring. Set true to inflame.

Example:
    fireplaceOne inflame true

A useful reference for all editors.

                                        Wadmann
Check out my Camouflage Collection! New items added 31 July 2005.

Captain Winters

  • Guest
Re:Light a fire?
« Reply #2 on: 18 Jun 2003, 02:23:11 »
lol. Owens, now, you'da missed the old forums if you were ever on em!

Tanks! 8)

Offline Burn

  • Members
  • *
Re:Light a fire?
« Reply #3 on: 18 Jun 2003, 09:32:41 »
quote on Black_Feather
 
Re:The time for "Action" has come!
« Reply #2 on: May 05, 2003, 06:52:33 PM »


Quote
//light fire
unitname action ["Fire inflame",firename]

//put out fire
unitname action ["Fire put down",firename]

PS. this is probably instant so:
Quote
use domve and & distance < 3 in a script or something.

satisfied? ;D ;)

Owens

  • Guest
Re:Light a fire?
« Reply #4 on: 18 Jun 2003, 17:07:31 »
ahhh, thanks a lot :D , the guy dont need to move cos he'll be stood next to the fire at the time but if you can be bothered how to explain how to make him move then id be gratefull, i dont really know how to write scripts so if it requres vast knoledge of scripting then i wouldnt bother  :-\ .

Erm, i dont quite understand what ya mean there Captain Winters :-\ . Why would i have missed em?
Im confused ???
thx.

« Last Edit: 18 Jun 2003, 17:12:04 by Owens »

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:Light a fire?
« Reply #5 on: 18 Jun 2003, 17:42:57 »
to make him move to the fire, use:

manname domove (getpos firename)

:thumbsup:
Proud Member of the Volunteer Commando Battalion

Owens

  • Guest
Re:Light a fire?
« Reply #6 on: 18 Jun 2003, 17:49:21 »
ahh Right thx messiah.
But my guy bends down to light fire, lights it and then stays in that position, just crouched, how i get him to stand up. i have tried putting <man> setunitpos "UP" afterwards but it dosnt work.
thx
« Last Edit: 18 Jun 2003, 17:51:44 by Owens »

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:Light a fire?
« Reply #7 on: 18 Jun 2003, 17:53:41 »
hmmm... yeah - well if u notice when u place a satchel charge as a player, if u dont press any keys after selecting 'place satchel charge' u remain in the same position...

so place a game logic somewhere else... and then make him move to that gamelogic using the same line as i wrote above  :D
Proud Member of the Volunteer Commando Battalion

Offline Burn

  • Members
  • *
Re:Light a fire?
« Reply #8 on: 18 Jun 2003, 17:54:30 »
Try: unitname switchMove "ObjNull" or unitname switchMove "Null"

Owens

  • Guest
Re:Light a fire?
« Reply #9 on: 18 Jun 2003, 17:57:05 »
nm, i got him to light fire where he is and then run towrds fire. Atleast he stands up after he has lit it now :-\
So ill just stick him next to fire and then he can just...run somewhere  :)
Thx

Owens

  • Guest
Re:Light a fire?
« Reply #10 on: 18 Jun 2003, 18:02:21 »
ahh right, its working now, thx for help :D