View difference between Paste ID: HW4BkXDJ and VQtUc0YH
SHOW: | | - or go back to the newest paste.
1
Marquee script 
2
3
#-----------------------------------------------
4
# It would be based off of Hompy's marker script
5-
# each letter is 5 blocks wide by 5 blocks deep
5+
# each letter is 5 blocks wide by 7 blocks deep
6
# with one empty block of space between each letter 10 letters would fit in one grid cell
7-
# if we implement rows there would be up to 10 rows as well, for 100 letters per grid cell
7+
# if we implement rows there would be up to 8 rows as well, for 80 letters per grid cell
8
# -----------------------------------------------
9
10
WriteToMarquee(message, cell, row, direction, color):
11
	
12
	#-------------------------------------------
13
	# message is the message you want to display
14
	# cell is the starting grid coordinate location for the message 
15
	# each grid cell is offset by 64 blocks
16
	# direction is the way the player will face in order to read the message
17
	#	north east south west
18
	# color of the text
19
	#
20
	# EXAMPLE
21
	#
22
	# WriteToMarquee("Danhezee has the intel!", "B3", 1, "east", enemy.color):
23
	#
24
	# The example above would write "DANHEZEE HAS THE INTEL" begining 
25
	# in cell B3 on the upper most row and continue through to the next two grid cells.
26
	#--------------------------------------------
27
28
EraseMarquee(cell, row):
29
30
	#------------------------------------
31
	# Erases messages line by line
32
	# by drawing a line 64 blocks long 
33
	# through the row appropiate row
34
	# and breaking a block
35
	#------------------------------------