作者amosdeus (幽素)
看板mud_sanc
標題[wizs]問題請教(十八)
時間Wed Aug 22 23:40:00 2007
問題:
#define TOWER_PATH zzz
.
.
.
省
略
.
.
.
mixed room=({
({"aabb", "aacc", "aadd", "aaee", "aaff"}),
});
int xxx_xxx(int s)
{
object rooms;
rooms=find_object_or_load(TOWER_PATH+room[s]);
rooms->set("long2",HIW"\n ↑ 向 光 線 \n");
set("long2",HIW"\n ↑ 向 光 線 \n"
+" ↖ 向 光 線 \n"
+" ← 向 光 線 \n"NOR);
return 1;
}
請問要怎用陣列來寫呢?
目錄:/u/p/plain/wide/virtue/room2/mh13.c
另外是否可以 cp 雙魚宮的小船程式給我參考呢?
目錄:/u/b/bdlen/area/seaquest/obj/testboat#2634
以上
謝謝
Plain@Sanc
--
咽咽學楚吟 病骨傷幽素 秋姿白髮生 木葉啼風雨
燈青蘭膏歇 落照飛蛾舞 古壁生凝塵 羇魂夢中語
【 傷心行 李賀 】
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.127.96.190