Author Topic: about Print command  (Read 8003 times)

0 Members and 1 Guest are viewing this topic.

Offline robingravel

about Print command
« on: December 10, 2003, 08:20:10 PM »
There is a way to use Print at position x and y anywhere on the screen like Print in agi?


Robin Gravel



Offline Brian Provinciano

Re:about Print command
« Reply #1 on: December 10, 2003, 09:45:44 PM »
Yes. Just use the #at parameter. You can see all available options, just look in Controls.sc. You can also add your own.

eg.
...
         (case #title
            ++paramCnt
            (send hDialog:text(params[paramCnt]))
         )
         (case #at
            = diagX params[++paramCnt]
            = diagY params[++paramCnt]
         )
         (case #draw
            Animate(
               (send gCast:elements)
               0
            )
         )
...

Offline robingravel

Re:about Print command
« Reply #2 on: December 10, 2003, 11:00:58 PM »
Thanks Brian

It works.


Robin Gravel


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.08 seconds with 22 queries.