Jump to content
Sign in to follow this  
Kolmain

Campfires!

Recommended Posts

Is there anyway (im spawning composition btw) to tell the AI to turn on their campfires that they are near? Thanks!

Share this post


Link to post
Share on other sites

Yes, select the unit with F whatever, hit 6, then there should be an option to light a fire (or put out a lit one).

Share this post


Link to post
Share on other sites

Theres no way to light a campfire in a radius? maybe via trigger?

Share this post


Link to post
Share on other sites
I don't see how that wouldn't be possible.

Useless post ever. This forum isn't a place for spamming.

Theres no way to light a campfire in a radius? maybe via trigger?

Of course, use the inflame command.

EDIT : too late :rolleyes:

EDIT 2 : you can try some actions like FireInFlame.

Edited by ProfTournesol

Share this post


Link to post
Share on other sites

Right, but they are part of compositions so how can I do that?...

Share this post


Link to post
Share on other sites

If your creating the composition at a game logic named gamelogic you could use this placed in the gamelogic or trigger, it will light fires within a 20 meter radius

To turn on

things = nearestObjects [gamelogic,["land_campfire"],20]; {_x  inflame true;} forEach things;

To turn off

things = nearestObjects [gamelogic,["land_campfire"],20]; {_x  inflame true;} forEach things;

Not tested with compositions but should work.

Edited by F2k Sel

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×