OK論壇

 找回密碼
 註冊
查看: 1195|回復: 5

時間到自跑出Npc & 某時間到自動傳人到某地方

 關閉 [複製鏈接]
  • TA的每日心情
    開心
    2017-3-17 10:40 AM
  • 簽到天數: 51 天

    連續簽到: 1 天

    [LV.5]常住居民I

    發表於 2009-1-31 17:41:55 | 顯示全部樓層 |閱讀模式
    如 題
    拜託大大,這兩個問題
    腳本應該如何寫?

    評分

    參與人數 1積分 -30 現金 -30 積極性 -30 收起 理由
    pan00017 -30 -30 -30 閒置問題三天

    查看全部評分

    回復

    使用道具 舉報

  • TA的每日心情
    開心
    2024-9-22 07:14 PM
  • 簽到天數: 238 天

    連續簽到: 1 天

    [LV.7]常住居民III

    發表於 2009-1-31 18:06:34 | 顯示全部樓層

    時間到自跑出Npc & 某時間到自動傳人到某地方

    1.
    *hideonnpc "<NPC object name>";
    *hideoffnpc "<NPC object name>";

    These commands will make the NPC object specified display as hidden/visible,
    even though not actually disabled per se. Hidden as in thief Hide skill, but
    unfortunately, not detectable by Ruwach or Sight.

    As they are now, these commands are pointless, it is suggested to use
    'disablenpc'/'enablenpc', because these two commands actually unload the NPC
    sprite location and other accompanying data from memory when it is not used.
    However, you can use these for some quest ideas (such as cloaking npcs talking
    while hidden then revealing.... you can wonder around =P

    2.
    *warpchar "<mapname>",<x>,<y>,<char_id>;

    Warps another player to specified map and coordinate given the char id, which you can get with
    getcharid(0,<player_name>). Obviously this is useless if you want to warp the same player that
    is executing this script, unless it's some kind of "chosen" script.

    Example:

    warpchar "prontera",150,100,20000001;
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    開心
    2017-3-17 10:40 AM
  • 簽到天數: 51 天

    連續簽到: 1 天

    [LV.5]常住居民I

     樓主| 發表於 2009-1-31 18:09:22 | 顯示全部樓層

    時間到自跑出Npc & 某時間到自動傳人到某地方

    謝謝大大
    大概了解一些惹@@~
    慢慢研究~"~
    =================
    另外請問一下
    <char_id>;
    用成全部人要設為??
    warpchar "prontera",150,100,20000001;
    時間要在哪條呢@@?

    [ 本帖最後由 ﹡恥]]° 於 2009-1-31 06:14 PM 編輯 ]
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    擦汗
    2014-11-29 10:22 AM
  • 簽到天數: 3 天

    連續簽到: 1 天

    [LV.2]偶爾看看I

    發表於 2009-2-1 20:08:17 | 顯示全部樓層

    時間到自跑出Npc & 某時間到自動傳人到某地方

    OnSecond OnSecondSS: 每分鐘的SS秒執行的事件
    OnMinute OnMinuteMM: 每小時的MM分鐘執行的事件
    OnClock OnClockHHMM: 每天的HH時MM分執行的事件
    OnHour OnHourHH: 每天的HH時執行的事件
    OnWeekTime OnWeekTimeDDHHMM: 星期DD(00-日、01-一…06-六)的HH時MM分執行的事件
    OnDateTime OnDateTimeMMDDHHMM: MM月DD日HH時MM分執行的事件
    OnDayTime OnDayTimeDDHHMM: DD日HH時MM分執行的事件
    OnDay OnDayDD: 每月DD日執行的事件
    OnTimer OnTimerX: NPC計時器經過X毫秒時執行的事件

    - - - - -

    [ 本帖最後由 ★趴偉♂ 於 2009-2-1 08:19 PM 編輯 ]
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    開心
    2024-9-22 07:14 PM
  • 簽到天數: 238 天

    連續簽到: 1 天

    [LV.7]常住居民III

    發表於 2009-2-1 21:44:52 | 顯示全部樓層

    時間到自跑出Npc & 某時間到自動傳人到某地方

    用變數讓所有編號都運作
    回復 支持 反對

    使用道具 舉報

    您需要登錄後才可以回帖 登錄 | 註冊

    本版積分規則

    Archiver|手機版|小黑屋|OK討論區

    GMT+8, 2025-6-29 12:56 PM , Processed in 0.578883 second(s), 21 queries , Gzip On.

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回復 返回頂部 返回列表