sorry i fegot to report back i did finally solve the problem, but still thanks.
And with what i learned so far i made this script from workshop 6 resouces
heres my script i made , you press buttion then text moves right.
its more easy then i though it would be.
////////////////////////////////////////////////////////////////////
#include <acknex.h>
#include <default.c>
STRING* aloha_str = "Welcome to Paradise Island!";
TEXT* greetings_txt =
{
pos_x = 10;
pos_y = 10;
string (aloha_str) ;
flags = VISIBLE;
}
BMAP* mouse_pcx = "mouse.pcx"; // bitmap used for the mouse pointer
function main()
{
video_mode = 7;
screen_color.red = 150;
mouse_map = mouse_pcx;
mouse_mode = 2;
while (1)
{
mouse_pos.x = mouse_cursor.x;
mouse_pos.y = mouse_cursor.y;
wait (1);
}
}
function move_text()
{
while(1)
{
wait(1);
greetings_txt.pos_x += 1;
}
}
//////////////////////////////////////////////////////////////////////
PANEL* main_pan =
{
bmap = "main.pcx";
pos_x = 250;
pos_y = 200;
button (250, 134, "quitclicked.pcx", "quitnormal.pcx", "quitover.pcx", move_text, NULL, NULL);
flags = OVERLAY | VISIBLE;
}
//////////////////////////////////////////////////////////////////////