OK論壇

 找回密碼
 註冊
查看: 1775|回復: 12

修改隊伍人數限制

 關閉 [複製鏈接]

該用戶從未簽到

發表於 2009-7-30 16:30:23 | 顯示全部樓層 |閱讀模式
本帖最後由 俊仔仔 於 2009-7-30 04:32 PM 編輯

如題...

請問在哪裡可以修改 最大隊伍人數限制
找了很久也找不到..

/感謝

評分

參與人數 1積分 -30 現金 -30 積極性 -30 收起 理由
小剪★ -30 -30 -30 閒置問題

查看全部評分

回復

使用道具 舉報

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

    連續簽到: 1 天

    [LV.7]常住居民III

    發表於 2009-7-30 16:34:27 | 顯示全部樓層
    改原碼
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    開心
    2018-12-14 06:21 PM
  • 簽到天數: 123 天

    連續簽到: 2 天

    [LV.7]常住居民III

    發表於 2009-7-30 16:36:07 | 顯示全部樓層
    #2
    腳本或許能辦到..
    不過非常的複雜..
    而且有BUG
    回復 支持 反對

    使用道具 舉報

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

    連續簽到: 1 天

    [LV.7]常住居民III

    發表於 2009-7-30 16:37:47 | 顯示全部樓層
    #3
    2個以上隊伍用腳本連接= =?
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    開心
    2018-12-14 06:21 PM
  • 簽到天數: 123 天

    連續簽到: 2 天

    [LV.7]常住居民III

    發表於 2009-7-30 16:45:17 | 顯示全部樓層
    #4
    答對了
    回復 支持 反對

    使用道具 舉報

    該用戶從未簽到

     樓主| 發表於 2009-7-30 16:46:10 | 顯示全部樓層
    那麼請問要怎樣做.... = =?
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    開心
    2018-12-14 06:21 PM
  • 簽到天數: 123 天

    連續簽到: 2 天

    [LV.7]常住居民III

    發表於 2009-7-30 16:50:21 | 顯示全部樓層
    getpartymember
    回復 支持 反對

    使用道具 舉報

    該用戶從未簽到

     樓主| 發表於 2009-7-30 17:30:49 | 顯示全部樓層
    如果我想增加隊伍限制人數
    getpartymember 可以使用嗎/?
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    開心
    2018-12-14 06:21 PM
  • 簽到天數: 123 天

    連續簽到: 2 天

    [LV.7]常住居民III

    發表於 2009-7-30 17:43:08 | 顯示全部樓層
    *getpartymember <party id>,{<type>};

    Thank you to HappyDenn for all this information.

    This command will find all members of a specified party and returns their names
    (or character id or account id depending on the value of "type") into an array
    of temporary global variables. There's actually quite a few commands like this
    which will fill a special variable with data upon execution and not do anything
    else.

    Upon executing this,

    $@partymembername$[] is a global temporary stringarray which contains all the
                         names of these party members
                         (only set when type is 0 or not specified)

    $@partymembercid[]   is a global temporary number array which contains the
                         character id of these party members.
                         (only set when type is 1)

    $@partymemberaid[]   is a global temporary number array which contains the
                         account id of these party members.
                         (only set when type is 2)

    $@partymembercount   is the number of party members that were found.

    The party members will (apparently) be found regardless of whether they are
    online or offline. Note that the names come in no particular order.

    Be sure to use $@partymembercount to go through this array, and not
    'getarraysize', because it is not cleared between runs of 'getpartymember'. If
    someone with 7 party members invokes this script, the array would have 7
    elements. But if another person calls up the NPC, and he has a party of 5, the
    server will not clear the array for you, overwriting the values instead. So in
    addition to returning the 5 member names, the 6th and 7th elements from the last
    call remain, and you will get 5+2 members, of which the last 2 don't belong to
    the new guy's party. $@partymembercount will always contain the correct number,
    (5) unlike 'getarraysize()' which will return 7 in this case.

    Example:

       // get the character's party ID
           getpartymember(getcharid(1));

       // immediately copy $@partymembercount value to a new variable, since
       // you don't know when 'getpartymember' will get called again for someone
       // else's party, overwriting your global array.
           set @partymembercount,$@partymembercount;

       // copy $@partymembername array to a new array
           copyarray @partymembername$[0],$@partymembername$[0],@partymembercount;

       //list the party members in NPC dialog
           set @count,0;
       L_DisplayMember:
           if(@count == @partymembercount) goto L_DisplayMemberEnd;
           mes (@count + 1) + ". ^0000FF" + @partymembername$[@count] + "^000000";
           set @count,@count+1;
           goto L_DisplayMember;
       L_DisplayMemberEnd:
           close;



    用goole去翻譯..
    我現在在忙..抱歉
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    開心
    2019-8-18 04:57 PM
  • 簽到天數: 2148 天

    連續簽到: 1 天

    [LV.Master]伴壇終老

    發表於 2009-7-30 20:23:49 | 顯示全部樓層
    對 新 手 說 腳 本 製 作
    到 最 後
    你 要 幫 他 寫 嗎
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    開心
    2018-12-14 06:21 PM
  • 簽到天數: 123 天

    連續簽到: 2 天

    [LV.7]常住居民III

    發表於 2009-7-30 20:28:01 | 顯示全部樓層
    #10
    有糖果吃嘛˙ˇ˙..

    明天教它使用方法~"~
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    開心
    2019-8-18 04:57 PM
  • 簽到天數: 2148 天

    連續簽到: 1 天

    [LV.Master]伴壇終老

    發表於 2009-7-30 20:29:10 | 顯示全部樓層
    多 此 一 舉
    乾 脆 說 不 能
    你 要 作
    就 發 腳 本 或 是 發 教 學 算 了
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    開心
    2018-12-14 06:21 PM
  • 簽到天數: 123 天

    連續簽到: 2 天

    [LV.7]常住居民III

    發表於 2009-7-30 20:32:12 | 顯示全部樓層
    #12
    好吧=    =..
    下次少說一點
    回復 支持 反對

    使用道具 舉報

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

    本版積分規則

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

    GMT+8, 2025-6-30 03:39 PM , Processed in 1.894305 second(s), 20 queries , Gzip On.

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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