📄 dobringtoab.act
字号:
/*
* For now there is no bringto function
* from Markus Hinrichs and Baschir Jaghoori
* for testing purposes
* TODO: replace the patrol function
* with the bringto function
*
* load bringto.act;
*
*/
/*load sample.act;*/
/*
* necessary to prevent a possible name collision
* next time starting the activity
*/
/*remove dobringtoab;*/
/***************************************************/
act dobringtoab()
{
int x;
/*
* start bringto("a", "b");
*/
sfMessage("Performing dobringtoab in Saphira");
/*
* wait a while
*/
x=50;
loop:
if (x == 0) goto finish;
onInit:
x = x-1;
goto loop;
finish:
sfMessage("dobringtoab in Saphira DONE");
succeed;
/*
start patrol(2);
*/
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -