in v 0.401 editor pistol trigger not set properly

正在查看此主题的用户

guspav

Section Moderator
the second trigger says the following in the first line:
"if(play_sound(SOUNDbattle.ogg),0,0))"
whereas in the official tools says this:
"(ti_on_weapon_attack, [(play_sound,"snd_pistol_shot")..."
 
Yes, that is correct. ti_onweapon_attack is the check interval. snd_pistol_shot resolves to SOUNDbattle.ogg. Unfortunately, the sound names are not used in sound.txt so the editor can't resolve back to the originals, it can only give the filename.

Although the if is wrong. Looks like conditions aren't operations below 10000 anymore. Not sure when I'll get those fixed, probably when all the operations are more fully documented.
 
后退
顶部 底部