OK論壇

 找回密碼
 註冊
查看: 1114|回復: 1

腳本指令:mobspawn

 關閉 [複製鏈接]

該用戶從未簽到

發表於 2009-3-23 13:13:10 | 顯示全部樓層 |閱讀模式
EA
私服版號: 13091(或之前版本)
問題內容: 腳本問題
本帖最後由 lendlice0001 於 2009-3-24 12:37 AM 編輯

因為在某腳本裡看到此指令:mobspawn

想請教此指令的格式、用途

而因為在 doc 裡找不到相關講解,所以請教一下 EA 前輩
回復

使用道具 舉報

  • TA的每日心情
    開心
    2021-12-17 05:30 AM
  • 簽到天數: 237 天

    連續簽到: 1 天

    [LV.7]常住居民III

    發表於 2009-3-23 18:14:52 | 顯示全部樓層
    * mobspawn (<monster name>,<monster ID>,<mapname>,<x>,<y>)
    * mobRemove <GID>;

    This is used to spawn a monster and return it's Game ID, to be used
    in the unit/mobcontrol commands.

    Note, I will use the stuff here in the examples for the unitcontrol.

    Example(s):

    //Spawns a poring named poi poi and put's it's GID in .GID.
            set .GID,mobspawn("Poi Poi",1002,"prontera",160,180);
    //would kill our poring.
            mobRemove .GID;
    回復 支持 反對

    使用道具 舉報

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

    本版積分規則

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

    GMT+8, 2024-5-29 10:21 PM , Processed in 0.050686 second(s), 21 queries , Gzip On.

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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