Yep, same reason.Thanks for your quick reply !
... as always top
Small addendum, but you surely know that or has the same reason, the recognition of the fighters in the fighter hangars also does not work.![]()
Yep, same reason.Thanks for your quick reply !
... as always top
Small addendum, but you surely know that or has the same reason, the recognition of the fighters in the fighter hangars also does not work.![]()
{if event.vehicle = vehicle:
{if event.health < 41:
Danger:
|elif event.health < 71:
Warning:
|elif event.health < 91:
Caution:
}
{F("Honorific")}
{_ check if damaged vehicle has pilot _}
{if event.piloted = true:
{ship.phoneticname}
{OneOf("- Hull", "- Hull integrity", "- Integrity", "- Structural integrity")}
{Occasionally(3, "is")} at {event.health}%.
|elif event.piloted = false:
{_ prevent to execte dismiss while damaged vehicle is SRV or player on foot _}
{if event.vehicle = "Ship":
{ship.phoneticname} in danger sending into orbit.
{OneOf("- Hull", "- Hull integrity", "- Integrity", "- Structural integrity")}
{Occasionally(3, "is")} at {event.health}%.
{_ do the VA dismiss thing _}
}
}
}
{_ TOOrbit _}
{F("Honorific")} {ship.phoneticname} is in danger sending into orbit.
{_ do the VA dismiss command _}
{if stastus.landed = true:
{if event.piloted = false:
{if status.srv_under_ship = false:
{_ call TOOrbit _}
{F("TOOrbit")}
}
}
}
Use this event in VA: https://github.com/EDCD/EDDI/wiki/Under-attack-event you can then check to see if it's the ship that's being attacked and if it is, fire off the dismiss ship command.Unfortunately i am unfamiliar with VA thing. There are already dissmis commands in VA from singularity profile
EDDI cannot currently be used to invoke VoiceAttack commands (as far as I'm aware no one has asked for that before).Unfortunately i am unfamiliar with VA thing. There are already dissmis commands in VA from singularity profile
I do not knew if i can use them from EDDI , or maybe this works in different way.
What i am trying to achieve is do this automatically without player interaction.
How to execute existing VA command from EDDI script? Is this even possible?
Created a new script in EDDI called "TOOrbit"
C++:{_ TOOrbit _} {F("Honorific")} {ship.phoneticname} is in danger sending into orbit. {_ do the VA dismiss command _}
This is called from "Hull damaged" by:
C++:{if stastus.landed = true: {if event.piloted = false: {if status.srv_under_ship = false: {_ call TOOrbit _} {F("TOOrbit")} } } }
Nice suggestion. The resulting command might look something like this:Use this event in VA: https://github.com/EDCD/EDDI/wiki/Under-attack-event you can then check to see if it's the ship that's being attacked and if it is, fire off the dismiss ship command
Just tried it and the event is not being fired in either 4.0.1 or 4.0.2 with my ship parked on a planet and me in the SRV and someone shooting my ship.Nice suggestion. The resulting command might look something like this:
View attachment 354219
Just tried it and the event is not being fired in either 4.0.1 or 4.0.2 with my ship parked on a planet and me in the SRV and someone shooting my ship.
Is the command not being invoked or are the specific conditions within the command not being met? Or in other words did the VoiceAttack log recordJust tried it and the event is not being fired in either 4.0.1 or 4.0.2 with my ship parked on a planet and me in the SRV and someone shooting my ship.
Plugin command : '((EDDI under attack))'
?EDDI under attack target
variable?UnderAttack
event was generated?When an event is fired you normally seeIs the command not being invoked or are the specific conditions within the command not being met? Or in other words did the VoiceAttack log recordPlugin command : '((EDDI under attack))'
?
Please try again and record the state of theEDDI under attack target
variable?
Please also check the latest entries in your player journal (at [your Saved Games Folder]/Frontier Developments/Elite Dangerous) to verify that aUnderAttack
event was generated?
o7
Plugin command: ((EDDI music))
or the name of the EDDI event that wsa fired but for this test I'm not seeing anything, and nothing in the Journal files but you do get the notification upper right that the ship is under attack. I've also got;Write [Blue] 'UA Target = {TXT:EDDI under attack target}' to log
I wonder if this is a limitation from when FDev choose to write that event to the journal.When an event is fired you normally seePlugin command: ((EDDI music))
or the name of the EDDI event that wsa fired but for this test I'm not seeing anything, and nothing in the Journal files but you do get the notification upper right that the ship is under attack. I've also got;
within the event and nothing is showing in the VA log as the event is not firing.Code:Write [Blue] 'UA Target = {TXT:EDDI under attack target}' to log
Edit: Even got another player to come and shoot my ship and still no event firing yet you do get the upper right notice about the ship being under attack.
Either me or another CMDR.I wonder if this is a limitation from when FDev choose to write that event to the journal.
In your tests has it always been yourself or another commander firing on the ship? Or have your tests involved being attacked by NPCs as well?
I've assumed it would trigger for all attacks but I've never actually tested that. It's possible that FDev only write that event when you come under attack from an NPC. If so then that would probably considered be a bug since it should be written any time the "Under attack" voice message / UI alert is triggered.Either me or another CMDR.
If I get the chance today I'll go and see about upsetting some localsI've assumed it would trigger for all attacks but I've never actually tested that. It's possible that FDev only write that event when you come under attack from an NPC. If so then that would probably considered be a bug since it should be written any time the "Under attack" voice message / UI alert is triggered.
View attachment 354257