Jump to content

Search the Community

Showing results for tags 'operator'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
    • Welcome Aboard
  • Kerbal Space Program 1
    • KSP1 Discussion
    • KSP1 Suggestions & Development Discussion
    • KSP1 Challenges & Mission ideas
    • KSP1 The Spacecraft Exchange
    • KSP1 Mission Reports
    • KSP1 Gameplay and Technical Support
    • KSP1 Mods
    • KSP1 Expansions
  • Kerbal Space Program 2
    • KSP2 Dev Updates
    • KSP2 Discussion
    • KSP2 Suggestions and Development Discussion
    • Challenges & Mission Ideas
    • The KSP2 Spacecraft Exchange
    • Mission Reports
    • KSP2 Prelaunch Archive
  • Kerbal Space Program 2 Gameplay & Technical Support
    • KSP2 Gameplay Questions and Tutorials
    • KSP2 Technical Support (PC, unmodded installs)
    • KSP2 Technical Support (PC, modded installs)
  • Kerbal Space Program 2 Mods
    • KSP2 Mod Discussions
    • KSP2 Mod Releases
    • KSP2 Mod Development
  • Community
    • Science & Spaceflight
    • Kerbal Network
    • The Lounge
    • KSP Fan Works
  • International
    • International

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Skype


Twitter


About me


Location


Interests

Found 1 result

  1. Hi I'm trying to concatenate a string with the value of a variable with MM, but noting seems to works and I find nothing on Internet. I need your help Here an example of what I'm trying : // First try : @PART[*]:HAS[#category[FuelTank],@RESOURCE[LiquidFuel],!RESOURCE[Oxidizer]]:LAST[MyModExample] { @description ^= :$:<br><color="green">It's an example with LiquidFuel #$/RESOURCE[LiquidFuel]/maxAmount$</color>: } It doesn't work. MM just don't evaluate the #$/RESOURCE[LiquidFuel]/maxAmount$ and just put it as normal text... // This one change nothing, same result @PART[*]:HAS[#category[FuelTank],@RESOURCE[LiquidFuel],!RESOURCE[Oxidizer]]:LAST[MyModExample] { @description ^= :$:<br><color="green">It's an example with LiquidFuel : @description ^= :$:#$/RESOURCE[LiquidFuel]/maxAmount$: @description ^= :$:</color>: } // This one change nothing, same result too... @PART[*]:HAS[#category[FuelTank],@RESOURCE[LiquidFuel],!RESOURCE[Oxidizer]]:LAST[MyModExample] { var = #$/RESOURCE[LiquidFuel]/maxAmount$ @description ^= :$:<br><color="green">It's an example with LiquidFuel : @description ^= :$:#$var$: @description ^= :$:</color>: } // This one doesn't work, throw an error... @PART[*]:HAS[#category[FuelTank],@RESOURCE[LiquidFuel],!RESOURCE[Oxidizer]]:LAST[MyModExample] { @description ^= :$:<br><color="green">It's an example with LiquidFuel : @description += #$/RESOURCE[LiquidFuel]/maxAmount$ @description ^= :$:</color>: } Anyone know how to concatenate a string with a value ? So much thanks in advance
×
×
  • Create New...