有没有大佬知道godpowertechID的调用名呢?
aiCastGodPowerAtPosition( int godPowerTechID, vector pos): Casts the given God power tech, at the specified position.这是代码对应的描述,我想知道godPowerTechID的命名格式。 看上去是神话时代用来释放技能的命令,理论上这个AI命令已经不能使用,因为我尝试过帝国3的techtreey.xml调用神话时代的科技type="power"类型,结果直接初始化失败。 UnittypeID跟UnitID不一样,比如现有的95%的外挂就是滥用UnitID,有专门的UI可以显示UnitID,我制作一部分触发程序都需要用上UnitID
custom/video/unitid.mp4
这个在AI文件又找到相关的例子,不过我没看懂怎样使用。
kbUnitQueryGetResult( long queryID, int index ): Returns the UnitID of the index-th result in the current query.
看上去是将地图生成的areaID转化成UnitID
kbAreaGetUnitID( int areaID, long index ): Returns the Unit ID of the index-th unit in the given area.
kbGetBlockID可以将剧情名转化成UnitID
kbGetBlockID( string blockName ): Returns the UnitID of the cinematic block.
页:
[1]