04-04-2016, 03:05 PM
(04-04-2016, 01:34 AM)True Destroyer Wrote: I assume that you plan not to change the default values but to force to define them at all times, so that defult values become redundant.What I want to do is make dist= required if you specify the pos= too. So something like this is not allowed:
In my opinion it's a better option than changing default values.
Code:
EndMissionTake pos=10;20 type=Titanium min=1
Code:
EndMissionTake pos=10;20 dist=8 type=Titanium min=1 // equivalent to the previous, no longer allowed version
EndMissionTake type=Titanium min=1 // detects anywhere
(04-04-2016, 01:34 AM)True Destroyer Wrote: Will have to update most of the missions.That's exactly why I'm warning everyone beforehand. If you want your levels to be compatible with future versions, make sure you specify both pos= and dist=. If you want to keep maximum compatibility with old versions, ALWAYS specify both pos= and dist=. If you only care about versions after this change (which has not occurred yet!) you can drop pos= and dist= in conditions that check for the whole map.
(04-04-2016, 01:34 AM)True Destroyer Wrote: What is the default range exactly? 8 metres?Yes, the current default for dist= is exactly 8 meters