Dr Eyeball – User talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
===Triggers + deleteVehicle===
* Hi, regarding KilledEH... "If one or both are dead, you cannot reliably determine their true side. Even looking up their class side can be inaccurate in advanced cases, (like mixed joins)."


Did you ever test this? As far as I know [[deleteVehicle]] does not have any effect on triggers. --[[User:Raedor|raedor]] 20:17, 1 October 2008 (CEST)
Really? Can you provide some illustration of these assertions as I'd liked to have a look at the issue too. Also, what do you mean by a 'mixed join'?
Cheers, Sy. -- [[User:Sy|Sy]] 12:19, 11 March 2009 (CET)


* Definitely works! Even recently caused a script error in your trigger color selection (editor rev. 734), because somebody was deleting triggers inside the mission :D --[[User:Kronzky|Kronzky]] 20:47, 1 October 2008 (CEST)
* It's already documented under [[side]]: "Once dead, a unit will be on the civilian side." Just try, side _deadBody returns civilian.


* I have used it a few times - in my real-time Merlin editor, for IED's, objectives, etc in both SP & MP. It definitely disables the trigger and I have never seen a problem with it yet.
By 'mixed join', I'm referring to the technique of changing the default side of a unit by having them join and be led by a person from another side of higher rank. Eg: 3 west infantry (with let's say private rank) grouped with 1 east officer with colonel rank with his 'presence' set to zero, will effectively make the 3 infantry men belong to side east. There is no command to determine that from a dead body.


I guess the confusing part is if you display a trigger in a format statement, it shows something like "276361: <NO SHAPE>", then even after you delete it, it still shows the same value although it has been disabled.
However if you were to lookup the class side of any of those men, it would obviously still return west. So there's no definitive way of determining their side, without tracking it or applying assumptions. [[User:Dr Eyeball|Dr Eyeball]] 14:20, 11 March 2009 (CET)


I'm not sure what would happen if you attempt to manipulate it after that. Does it still exist as a disabled trigger in some usable form, or is it truly deleted.
Thanks for the explanation matey, I understand now what you mean. Your, unitSide suggestion is a good one. Cheers. -- [[User:Sy|Sy]] 07:24, 12 March 2009 (CET)
 
Kronzky, your reply could be misinterpreted when saying "it works" and "caused a script error" in the same statement. I'm pretty sure you're saying it works but someone has used it incorrectly? [[User:Dr Eyeball|Dr Eyeball]] 04:35, 2 October 2008 (CEST)
 
:Nah - I was just teasing raedor... ;)
:He hadn't expected that somebody would've deleted a trigger underneath him, and this was causing an error. But the command itself is harmless. --[[User:Kronzky|Kronzky]] 06:32, 2 October 2008 (CEST)
 
::I see. Then we don't use it as the trigger is still "there" after deleting, and it is still returned in the [[triggers]] array (we just like set the condition to false and move it to [0,0]).
::Okay, so you can delete this one day, DrEyeball ;) --[[User:Raedor|raedor]] 10:14, 2 October 2008 (CEST)

Latest revision as of 08:24, 12 March 2009

  • Hi, regarding KilledEH... "If one or both are dead, you cannot reliably determine their true side. Even looking up their class side can be inaccurate in advanced cases, (like mixed joins)."

Really? Can you provide some illustration of these assertions as I'd liked to have a look at the issue too. Also, what do you mean by a 'mixed join'? Cheers, Sy. -- Sy 12:19, 11 March 2009 (CET)

  • It's already documented under side: "Once dead, a unit will be on the civilian side." Just try, side _deadBody returns civilian.

By 'mixed join', I'm referring to the technique of changing the default side of a unit by having them join and be led by a person from another side of higher rank. Eg: 3 west infantry (with let's say private rank) grouped with 1 east officer with colonel rank with his 'presence' set to zero, will effectively make the 3 infantry men belong to side east. There is no command to determine that from a dead body.

However if you were to lookup the class side of any of those men, it would obviously still return west. So there's no definitive way of determining their side, without tracking it or applying assumptions. Dr Eyeball 14:20, 11 March 2009 (CET)

Thanks for the explanation matey, I understand now what you mean. Your, unitSide suggestion is a good one. Cheers. -- Sy 07:24, 12 March 2009 (CET)