# jass **Repository Path**: LazyKnight/jass ## Basic Information - **Project Name**: jass - **Description**: vscode jass語言插件 - **Primary Language**: TypeScript - **License**: Not specified - **Default Branch**: master - **Homepage**: https://marketplace.visualstudio.com/items?itemName=jass.jass - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 7 - **Created**: 2021-07-04 - **Last Updated**: 2021-07-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [貼吧](https://tieba.baidu.com/p/6235060595?pid=127236515130&cid=0&red_tag=2862340933#127236515130) [Gitee源碼](https://gitee.com/naichabaobao/jass) [GitHub源碼](https://github.com/naichabaobao/jass) [Q群,點擊加入](https://shang.qq.com/wpa/qunwpa?idkey=56ca07f1d46b310f878eb4ccf4e153697d85aac546385fab0e31b569d3b0a79e) vscode最低版本1.37 common.j 為1.32.7 1. 下载安装 visual studio Code 2. visual studio Code 安装 Jass插件 3. WE触发器 自定义脚本区 #include "Main.j" "Main.j" 内容 -------------------------------------------------------- ```jass // 友情提供: 枫舞 #include "****.j" //这是引入的其他j文件 //触发器主体 注:Main文件 要有一个空的触发 // ------------------------------------------------------- //以下为外部引用触发器的格式 //Main 为触发器名字 //MainAction 为动作函数名 对应T的动作 //MainEvent 为触发函数名 对应T的事件 library Main initializer MainEvent function MainAction takes nothing returns nothing endfunction function MainEvent takes nothing returns nothing local trigger mainTrigger = CreateTrigger() call TriggerRegisterTimerEventSingle(mainTrigger,0) call TriggerAddAction(mainTrigger, function MainAction) endfunction endlibrary ``` -------------------------------------------------------- #测试 ![测试](https://gitee.com/naichabaobao/jass/raw/master/static/test.png) start一下吧!