Jump to content

BSL:Functions: Difference between revisions

→‎cinematic_: rewrite and move of flag illustration
(→‎Native functions: adding all the functions I just realized are missing...)
(→‎cinematic_: rewrite and move of flag illustration)
Line 242: Line 242:
*who - prints AIs that are nearby
*who - prints AIs that are nearby


===cinematic_===
===cinematic===
[[Image:Cinematic_flags.jpg|thumb|right|This picture shows the layout of the "flags" used by cinematic_start/stop's start:int and end parameters.]]
*cinematic_start bitmap_name:string draw_width:int draw_height:int start:int end:int velocity:float mirror:bool - start the display of a cinematic insert - cinematic_start (MUROtalking, 180, 180, 15, 1, 15, false)
*cinematic_start bitmap_name:string draw_width:int draw_height:int start:int end:int velocity:float mirror:bool - start the display of a cinematic insert - cinematic_start (MUROtalking, 180, 180, 15, 1, 15, false)
*cinematic_stop bitmap_name:string end:int velocity:float - stop the display of a cinematic insert - cinematic_stop (KONtalkangryfront, 16, 20)
*cinematic_stop bitmap_name:string end:int velocity:float - stop the display of a cinematic insert - cinematic_stop (KONtalkangryfront, 16, 20)
This picture shows layout of the "flags" used by cinematic_start/stop (those start:int; end:int numbers). Blue-visible screen, yellow-behind visible screen. If you set zero flag (cinematic_start MUROtalking, 180,180, 0, 0, 15, false) picture is displayed in the top-left corner of the visible part. If you set it to higher number than 25, picture will not be displayed.
''see picture on right for locations that insert can be placed; if you give a flag value of 0, the picture is displayed in the top-left corner of the screen''<br />
 
''the yellow area's flags are off-screen; these are used for the start position of the fly-in so the picture slides on-screen instead of popping up on-screen''
 
[[image:Cinematic_flags.jpg]]


===camera===
===camera===