moh8888 Posted 2005年3月22日 03:32 Posted 2005年3月22日 03:32 按USE键的触发小程序 thread a_trigger //执行一个名为a_trigger 的程序 a_trigger: //名为a_trigger 的程序 local.trig = spawn trigger_use //按USE键 local.trig.origin = ( 0 0 0 ) //按USE键位置 local.trig.angles = ( 0 0 0 ) local.trig setsize "-20 -20 -20" "20 20 20" //按USE键区域20x20x20 local.trig setthtread a_thread //按USE键然后执行一个事件a_thread end a_thread: //事件a_thread的内容 //<--------------------------这里放你想发生的事情 end[/code]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new account登录
Already have an account? Sign in here.
现在登录