Artillery firing flag - ED Forums
 


Notices

Reply
 
Thread Tools Display Modes
Old 04-20-2017, 08:45 PM   #1
Dave317
Member
 
Join Date: Jan 2009
Location: St Evenage. UK
Posts: 519
Reputation power: 11
Dave317 has a spectacular aura aboutDave317 has a spectacular aura aboutDave317 has a spectacular aura aboutDave317 has a spectacular aura about
Default Artillery firing flag

Is there a way of making a flag true when an artillery unit fires? I can command the artillery to fire easily enough but I wanted to send a message when it actually fires. I thought about 'bomb in zone' and 'missile in zone' but artillery rounds aren't included in the list.
Dave317 is offline   Reply With Quote
Old 04-20-2017, 09:01 PM   #2
EasyEB
Member
 
EasyEB's Avatar
 
Join Date: Mar 2015
Location: Sweden
Posts: 456
Reputation power: 4
EasyEB has a spectacular aura aboutEasyEB has a spectacular aura aboutEasyEB has a spectacular aura aboutEasyEB has a spectacular aura aboutEasyEB has a spectacular aura about
Default

Eventhandlers is the way to go.
EasyEB is offline   Reply With Quote
Old 04-21-2017, 12:36 PM   #3
Dave317
Member
 
Join Date: Jan 2009
Location: St Evenage. UK
Posts: 519
Reputation power: 11
Dave317 has a spectacular aura aboutDave317 has a spectacular aura aboutDave317 has a spectacular aura aboutDave317 has a spectacular aura about
Default

Sounds a bit complicated.
Dave317 is offline   Reply With Quote
Old 04-21-2017, 01:39 PM   #4
feefifofum
Senior Member
 
feefifofum's Avatar
 
Join Date: Jan 2015
Location: USA
Posts: 1,004
Reputation power: 7
feefifofum is a jewel in the roughfeefifofum is a jewel in the roughfeefifofum is a jewel in the roughfeefifofum is a jewel in the roughfeefifofum is a jewel in the roughfeefifofum is a jewel in the roughfeefifofum is a jewel in the rough
Default

Yep...that's the rabbit hole in a nutshell.
The question is, how far down do you want to go?
__________________
feefifofum is offline   Reply With Quote
Old 04-21-2017, 01:48 PM   #5
Dave317
Member
 
Join Date: Jan 2009
Location: St Evenage. UK
Posts: 519
Reputation power: 11
Dave317 has a spectacular aura aboutDave317 has a spectacular aura aboutDave317 has a spectacular aura aboutDave317 has a spectacular aura about
Default

Where is the best place to start?
Dave317 is offline   Reply With Quote
Old 04-21-2017, 02:42 PM   #6
Pikey
Senior Member
 
Pikey's Avatar
 
Join Date: Sep 2009
Location: Reading, UK (GMT)
Posts: 2,341
Reputation power: 26
Pikey is a glorious beacon of lightPikey is a glorious beacon of lightPikey is a glorious beacon of lightPikey is a glorious beacon of lightPikey is a glorious beacon of lightPikey is a glorious beacon of lightPikey is a glorious beacon of lightPikey is a glorious beacon of lightPikey is a glorious beacon of lightPikey is a glorious beacon of lightPikey is a glorious beacon of light
Default

http://wiki.hoggit.us/view/DCS_func_addEventHandler
Pikey is offline   Reply With Quote
Old 04-21-2017, 04:01 PM   #7
Dave317
Member
 
Join Date: Jan 2009
Location: St Evenage. UK
Posts: 519
Reputation power: 11
Dave317 has a spectacular aura aboutDave317 has a spectacular aura aboutDave317 has a spectacular aura aboutDave317 has a spectacular aura about
Default

I saw that Pikey. Can't work out what do do with the information though.
Dave317 is offline   Reply With Quote
Old 04-21-2017, 04:40 PM   #8
apolloace
Member
 
apolloace's Avatar
 
Join Date: Jul 2010
Location: India
Posts: 157
Reputation power: 7
apolloace will become famous soon enoughapolloace will become famous soon enough
Default

You will need some programming language experience to write scripts & use the DCS Scripting Environment.

-> Search Lua Scripting language on the net. First go through it.

Then -> Go to top of mission builders forum to the Sticky Topics - MIST & MOOSE.

Then you will be ready to start.

There is a learning curve involved, but I am sure you will enjoy it.

apolloace is offline   Reply With Quote
Old 04-22-2017, 09:13 AM   #9
Dave317
Member
 
Join Date: Jan 2009
Location: St Evenage. UK
Posts: 519
Reputation power: 11
Dave317 has a spectacular aura aboutDave317 has a spectacular aura aboutDave317 has a spectacular aura aboutDave317 has a spectacular aura about
Default

Struggling with this but I'd like to work it out. I'm completely new to any kind of scripting and would really appreciate if someone could explain in layman's terms exactly what I need to do. Better yet would it be possible to create a simple mission where a flag is true once a unit fires so I can pick it apart and learn from that.
Dave317 is offline   Reply With Quote
Old 04-22-2017, 03:18 PM   #10
apolloace
Member
 
apolloace's Avatar
 
Join Date: Jul 2010
Location: India
Posts: 157
Reputation power: 7
apolloace will become famous soon enoughapolloace will become famous soon enough
Default

Check out this thread:

https://forums.eagle.ru/showthread.php?t=107712

apolloace is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 02:58 PM. vBulletin Skin by ForumMonkeys. Powered by vBulletin®.
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.