伺か向けのフォーラム。自由に使ってください。ユーザアカウント登録なしで閲覧できます。
共有アカウント: 774user / 774user
ページ: 1
#31
get,propetyを使います。
何が取得出来るのかは、ukadocを参照してください。getCoordinate { _ret = '' _ret += '\![get,property,OnGetCoordinate,' _ret += 'currentghost.scope(0).x,currentghost.scope(0).y,' _ret += 'currentghost.scope(1).x,currentghost.scope(1).y _ret += ']' _ret } OnGetCoordinate { sakuraPosX = reference[0] sakuraPosY = reference[1] keroPosX = reference[2] keroPosX = reference[3] } // any event OnRandomTalk { _talk = '' _talk += getCoordinate() _talk += '\![embed,OnCoodinateTalk]' _talk } OnCoodinateTalk { _talk = '' _talk = '\0My X is ' + sakuraPosX + '.' _talk = '\1My Y is ' + keroPosY + '.' _talk }
I have try this one, but that only can get the coord for last time, like
The first time X = 100, Y = 200, that show nothing.
Second time X = 150, Y = 200, that show X = 100, Y = 200
The third time X = 200, Y = 250, that show X = 150, Y = 200 etc.
Hi is me again!
I want to know the sakura and kero coordinate (X, Y) in the screen, how do I get that?
I want the kero follow the sakura's moving, and the kero just can move around the sakura.
And also I want to know how far they from each other
誤
関数「OnEventName」を呼び出す正
関数「OnFetchBootingGhostNameList」を呼び出す
thank's at all!it's work!
I want to make a list to know which ghost is in started,but the On_otherghostname and ghostexlist is not working, That only can get ghostexcount to know how many are there.
how can I get the list for the starting ghost's name?
ページ: 1