请选择 进入手机版 | 继续访问电脑版

 找回密码
 点一下
查看: 2312|回复: 1

1.24的I2H写法

[复制链接]
发表于 2014-3-3 20:48:41 | 显示全部楼层 |阅读模式
function testI2H takes nothing returns nothing
    local unit u = CreateUnit(Player(0), 'hpea', 0, 0, 0)
    local hashtable ht = InitHashtable()
    call SaveFogStateHandle(ht, 0, 0, ConvertFogState(GetHandleId(u)))
    call KillUnit(LoadUnitHandle(ht, 0, 0))
    call FlushParentHashtable(ht)
    set u = null
    set ht = null
endfunction
发表于 2014-3-3 21:41:22 | 显示全部楼层
虽然看不懂,但还是支持下,顺便占领沙发
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 点一下

本版积分规则

Archiver|移动端|小黑屋|地精研究院

GMT+8, 2024-3-29 02:15 , Processed in 0.580144 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表