Jump to content

Search the Community

Showing results for tags 'logic'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • ★ Dev Announcements ★
    • Community Rules & Guidelines
    • Dev Diaries
    • Changelogs
  • Ylands Discussion
    • General Discussion
    • Suggestions & Feedback
    • Localization
  • Support
    • Bugs & Technical Issues
    • Community Tutorials
  • Exploration
  • Editor
    • Editor Suggestions
    • Editor Help
  • Community Corner
    • Community News
    • Off-topic
  • Ylands EDU
    • Ylands EDU - Alfa
  • Removed's Forum
  • New Realm Entertainment's General Forum
  • New Realm Entertainment's YLands Editor
  • Kysen's Suggest A Video For Me!
  • Kysen's Forum
  • Ylands Ylander's Forum
  • Hermitland State's General Discussion
  • Flintlock Trading Company's Colonial Interests
  • Flintlock Trading Company's Membership Application
  • Flintlock Trading Company's General Discussions

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 3 results

  1. Oliver Hope

    [NEW]Useful Text Functions

    Hey all Please Note: I discovered a bad bug, if any of your RGB values are less then 10 you wont get the color you expect this bug has been fixed and I updated the download on the 13/01/2019. Inside this global storage are 4 instructions to make customizing text easy as pie! It will work for any kind of text output : console, UI, bubble and warning text. TEXT_FUNCTIONS 2.0.zip Just place the composition down in any scenario and you can access the instructions from any game logic in that scenario. In these example i will just be writing to console on game start because its the easiest, but of course you can use them anywhere else. Set Colour - You can set the color of text with this instruction. The first argument is for your text the second one is for the color. NOTE: The alpha sets the transparency of text with 255 being completely opaque and 0 being invisible. here you can see the output. Bold - This instruction makes text bold. Just chuck your text in ; ) Italic - This instruction makes text italic Same as Bold, just put your text in. Skip lines - Use this instruction to make spaces between your lines or just go to the next line. The first and last argument is for your text and the second one is for the amount of lines to skip, leave as 0 if you just want to go the next line. Now of course these all can be used in conjunction with each other. New features as of 20/4/2019 for the new functions i am not providing any pictures as i feel they are quite self explainatory especiely if you understand the older functions. Size - This function changes the size of text: The first argument is for your text and the second is for size as a number. Format List - takes a list and formats it( This function currently doesnt work properly due to what i believe is an ylands bug) argument NO 1 is for your list, it must be seperated by a character eg " ; " argument NO 2 is for that same seperator There are also two other instructions which are used in within the colour one; Decimal to Hexdecimal takes a decimal as an argument and returns the equavelent hexdecimal and Remainder which takes a numerator and denominator as arguments and returns the remainder. Feel free to sure these in other circumstance. Note: im trying to get this onto the workshop but having some problems with that so for now your going to have to extract the file and insert it into the compositions folder. The folder can be found at C:\Program Files (x86)\Steam\userdata\xyz\abc\remote\Compositions (xyz and abc are a list of number that are different for each user so you just have to look throught them all, or just search .ycomp in userdata to find the folder with compositions in it (i recommend pinning the folder when you find it)) If you need any help or have suggestions reply to this post or send me a DM. TEXT_FUNCTIONS.zip TEXT_FUNCTIONS.zip
  2. Hi! I'm working on a big castle and I'd like to make a working porticullis. I know you an change object position using logic, so it shouldn't be hard to make it slide up and down. The problem is How do I trigger this action with a lever? I understand how to use a trigger zone, but how does the lever work? Thanks in advance for your attention!
  3. since update 0.7 we cant take over logics from editor mode to the single player explore files.. this really sucks! since I want to use logics in my server and have more than 8 ylands in the server (creating a terrain in ylands only give the ability to generate 5 ylands..) so I have to use an single player explore file to play on the server with multiple people. but than again I cant use logics in the editor mode before the update you could save a logic as a composition and load it in the explore file and it would work. I need really need those logics for in the server! I want to build teleport to each yland so I can help people who are stuck or don't have resources anymore. so please either bring back those logics or make a command for admins so that we can teleport to people ( e.g: /tp ''yourusername'' ''targetplayer'' )
×