SRL Archive - OSR Help

drawing in smart?


elephant

2015-03-30 15:40:57

I am trying to use lape, and draw using smart with reflection. I wanted to display a 'time running' or 'ores mined' in my script. However, I cannot seem to get anything to display when I try to draw something. I also tried to draw a box on the screen with the following and nothing showed up :
[PHP]reflect.Graphics.DrawBox(1, 100, 100, 100 , false, clRed); [/PHP]

The questions I have are
1. Do you need to enable drawing or something for smart?
2. Can anyone give me an example of a box drawn and text drawn on smart or link me to an example of it?

Kyle

2015-03-30 16:12:50

From: elephant
I am trying to use lape, and draw using smart with reflection. I wanted to display a 'time running' or 'ores mined' in my script. However, I cannot seem to get anything to display when I try to draw something. I also tried to draw a box on the screen with the following and nothing showed up :
[PHP]reflect.Graphics.DrawBox(1, 100, 100, 100 , false, clRed); [/PHP]

The questions I have are
1. Do you need to enable drawing or something for smart?
2. Can anyone give me an example of a box drawn and text drawn on smart or link me to an example of it?


1. No
2. Reflect.Smart.Graphics.DrawBox(100, 100, 150, 150, True);

elephant

2015-03-30 17:48:29

From: elfyyy
1. No
2. Reflect.Smart.Graphics.DrawBox(100, 100, 150, 150, True);


Thank you! Never realized graphics were under smart category as-well.