Skip to content
View in the app

A better way to browse. Learn more.

主视角中国

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

物件的平移

Featured Replies

要想加入一个物件在图中可载人并水平移动可加入以下程序:

在MAP.SCR中:

level waittill spawn这一行下加入

thread settransport //物件指令

thread settransportmove //移动指令

//-------------------------------------------

//在最后加入指令内容

//-----------------------------------------

settransport:

local.transport = spawn script_model

local.transport model "fx/wood_latice.tik" //这是一个平面物件wood_latice

local.transport.origin = ( X Y Z ) //坐标

local.transport targetname transportmove

local.transport.angles = ( 0 0 0 ) //方向

local.transport solid

end

settransportmove:

$transportmove waitmove

$transportmove moveeast 110 //向东移动110

$transportmove movenorth 50 //北50

$transportmove moveeast 100 //东100

wait 5

$transportmove waitmove

$transportmove movewest 100 //西100

$transportmove movesouth 50 //南50

$transportmove movewest 110 //西110回到原点坐标一个循环

wait 5

thread settransportmove

end

这只是一个举例,东南西北随便走,看你如何改了,

当然最后要回到原点才是一个循环,不然的话,它会走出画面的回不来了!

Create an account or sign in to comment

Account

Navigation

搜索

搜索

设置浏览器推送通知

Chrome(安卓)
  1. 点击地址栏旁边的锁形图标。
  2. 点击 权限 → 通知
  3. 根据需要调整通知设置。
Chrome(桌面)
  1. 点击地址栏中的锁形图标。
  2. 选择 网站设置
  3. 找到 通知,然后根据需要调整设置。