UFO: Alien Invasion Issue Tracker
star_faded.png
Please log in to bookmark issues
feature_request_small.png
CLOSED  Feature request #5098  -  Support multiple param values for mapdef
Posted Aug 28, 2013 - updated Aug 30, 2013
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
icon_info.png This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Feature request
  • Status
     
    Closed
  • Assigned to
     mattn
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     H-Hour
  • Owned by
    Not owned by anyone
  • Time spent
    2 days, 9 hours
  • Category
    Scripts (.ufo)
  • Resolution
    RESOLVED
  • Priority
    Not determined
  • Targetted for
    icon_milestones.png Not determined
  • Complexity
    icon_customdatatype.png Simple
Issue description
In maps.ufo, our mapdefs except a "param" value which will point to a specific RMA assembly. It would be great if this param could take multiple assemblies, so we don't need to duplicate mapdefs for similar assemblies.

I imagine the script would look like this:

  1. param {
  2. assembly1
  3. assembly2
  4. assembly3
  5. }


When selecting a map, the game should choose randomly between the assemblies.