Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Marquee script
- #-----------------------------------------------
- # It would be based off of Hompy's marker script
- # each letter is 5 blocks wide by 7 blocks deep
- # with one empty block of space between each letter 10 letters would fit in one grid cell
- # if we implement rows there would be up to 8 rows as well, for 80 letters per grid cell
- # -----------------------------------------------
- WriteToMarquee(message, cell, row, direction, color):
- #-------------------------------------------
- # message is the message you want to display
- # cell is the starting grid coordinate location for the message
- # each grid cell is offset by 64 blocks
- # direction is the way the player will face in order to read the message
- # north east south west
- # color of the text
- #
- # EXAMPLE
- #
- # WriteToMarquee("Danhezee has the intel!", "B3", 1, "east", enemy.color):
- #
- # The example above would write "DANHEZEE HAS THE INTEL" begining
- # in cell B3 on the upper most row and continue through to the next two grid cells.
- #--------------------------------------------
- EraseMarquee(cell, row):
- #------------------------------------
- # Erases messages line by line
- # by drawing a line 64 blocks long
- # through the row appropiate row
- # and breaking a block
- #------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement