meta data for this page
📚 差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录前一修订版 | |||
scripting:world:model [2024/12/25 06:03] – bibiboxs | scripting:world:model [2025/05/25 15:56] (当前版本) – bibiboxs | ||
---|---|---|---|
行 16: | 行 16: | ||
## Event | ## Event | ||
- | ### OnModelDamage( model, damage, from, type, isImmunity ) | + | ### OnModelDamage( model, damage, from, type, isImmunity, localHitPos |
> 当模型对象被攻击时调用,**攻击检测应该优先考虑此事件**。 | > 当模型对象被攻击时调用,**攻击检测应该优先考虑此事件**。 | ||
行 541: | 行 541: | ||
function model.ScaleTo( scale: Vector, time: float ) | function model.ScaleTo( scale: Vector, time: float ) | ||
``` | ``` | ||
+ | |||