C .
ODE
G
AMELET
Focus Issue
敵人的AI天影的黑龍好像不能打到天影玩家(反轉也是)BUG?
PickleKen opened 8 months ago 11
黑龍傷害就是不會傷害到天影的角色
好的謝謝你,不過你知道怎麽設定龍波的方向為人物面向方向?還有什麽是路徑?我的龍波經常會一放出來就跑去別的人物面向方向,不能控制他的方向。
我的範例
甚麼意思 出去之後都維持同一個方向還是?
是的
要維持同一個方向可能要請別人幫忙 
但如果要初始方向跟人物相同就用面向角度
檢查角色的角度不等於0or等於0然後存變數
在用到龍波上 記得路徑種類改成自動
找出所有角色在最上面才對
ok,等下我有空再試一試
是這樣子?
 
{
"$schema": "https://code.gamelet.com/gassets/schema/events/v1",
"config": {
"stage": {
"width": 600,
"height": 500,
"backgroundColor": "#000000",
"resolutionPolicy": "showAll",
"alignHorizontal": "center",
"alignVertical": "middle"
},
"preload": {
"resourcesExclude": [],
"sources": []
},
"configs": {
"TwilightWarsConfig": {
"title": "",
"serverConfig": {
"minPlayers": 1,
"supportSignin": true,
"mustLogin": true,
"allowGuest": true,
"supportMsgServer": true,
"gamezoneCode": "mission",
"roomType": "open",
"roomSize": 4
},
"runGame": true,
"gameStartFadein": "fadein",
"lives": 3,
"debugCamp": "default",
"releaseCamp": "default",
"setInitFocus": false,
"initFocus": {
"x": "0",
"y": "0"
},
"campOptions": {
"campOpSkydow": true,
"campOpRoyal": true,
"campOpThird": true
},
"map": "CG.ch0001/mission/season1_chapter2/season1_chapter2_mission1.twmap",
"maxAbilityLevel": 2,
"nextGameEnabled": true,
"disableNextGameOnMissionComplete": false,
"playDefaultMusic": true,
"cameraAfterOver": "restrict",
"useDefaultItems": false,
"useDefaultCampLocs": false,
"skydowLocs": [
{
"x": "0",
"y": "0"
}
],
"royalLocs": [
{
"x": "0",
"y": "0"
}
],
"thirdLocs": [
{
"x": "0",
"y": "0"
}
],
"useCustomWeapons": true,
"customWeapons": [],
"useCustomItems": false,
"customItems": [],
"enabled": true
}
}
},
"events": [
{
"id": "水水水水水水水水水水水水水水水水水水水",
"disabled": false,
"folder": "",
"startTime": 0,
"checkInterval": 10,
"repeats": -1,
"repeatInterval": 500,
"actions": [
{
"type": "MapLongBo",
"data": {
"longBoCode": "",
"actorCode": "asd",
"longBoType": "heLongBo",
"location": {
"targetType": "actor",
"targetCode": "asd",
"alive": true,
"range": "0"
},
"pathType": "auto",
"degree": "{degree}",
"randPathLen": "20",
"finalTurnDegree": "-1",
"maxTurns": "8",
"tailLifetime": "200",
"scale": "1",
"timePerTile": "200",
"initDmg": "15",
"contDmg": "10",
"ifEnable": true,
"filter": {
"filtersType": "adjustment",
"adjustGamma": "1",
"adjustSaturation": "1",
"adjustContrast": "1",
"adjustBrightness": "1",
"adjustRed": "1",
"adjustGreen": "1",
"adjustBlue": "1",
"adjustAlpha": "1"
}
}
}
],
"checks": [
{
"type": "ForEachActor",
"data": {
"actorMatches": [
{
"actorCodes": [
{
"method": "equal",
"actorCode": "{asdf.id}"
}
],
"excludeActorCodes": [],
"brain": "player",
"camp": {
"campAll": true
}
}
],
"varname": "asd",
"maxTriggers": "0",
"donotActOnEachPass": false,
"varnameTotalLoops": "totalLoops",
"varnameOfPassCount": "totalPasses",
"_logi": {
"_and_or": ""
},
"_elseEventId": ""
}
},
{
"type": "ActorFace",
"data": {
"actorCode": "asd",
"operator": "==",
"degree": "0",
"varname": "degree",
"_logi": {
"_and_or": "OR"
},
"_elseEventId": ""
}
},
{
"type": "ActorFace",
"data": {
"actorCode": "asd",
"operator": "!=",
"degree": "0",
"varname": "degree",
"_logi": {
"_and_or": "OR"
},
"_elseEventId": ""
}
}
],
"triggers": [
{
"type": "KeyboardPressed",
"data": {
"playerId": "*",
"playerLocal": "asdf",
"timing": "pressed",
"key": 49,
"keyLocal": "",
"ctrl": "",
"shift": ""
}
}
],
"color": "#FFFFFF"
}
]
}
Items per page:
1 - 10 of 11
ⒸCode.Gamelet.com | Privacy Policy | Terms of Service