Steamをインストール
ログイン
|
言語
简体中文(簡体字中国語)
繁體中文(繁体字中国語)
한국어 (韓国語)
ไทย (タイ語)
български (ブルガリア語)
Čeština(チェコ語)
Dansk (デンマーク語)
Deutsch (ドイツ語)
English (英語)
Español - España (スペイン語 - スペイン)
Español - Latinoamérica (スペイン語 - ラテンアメリカ)
Ελληνικά (ギリシャ語)
Français (フランス語)
Italiano (イタリア語)
Bahasa Indonesia(インドネシア語)
Magyar(ハンガリー語)
Nederlands (オランダ語)
Norsk (ノルウェー語)
Polski (ポーランド語)
Português(ポルトガル語-ポルトガル)
Português - Brasil (ポルトガル語 - ブラジル)
Română(ルーマニア語)
Русский (ロシア語)
Suomi (フィンランド語)
Svenska (スウェーデン語)
Türkçe (トルコ語)
Tiếng Việt (ベトナム語)
Українська (ウクライナ語)
翻訳の問題を報告
Thank you 😄
_location = _x modelToWorld [_dir,0,0];
?
i wanted to give you and anyone else that might want to use it, a line of code that moved the trash on the road just a BIT to the side, to allow AI and other players to see it but not hit each one.
the results move each trash item a bit to the left or right of the middle of the road
changed this>
_location = _x getRelPos [floor random 3,floor random _dir];
to this>
_location = _x modelToWorld [25,0,0];
im busy but i wanted to randomize it too with 25 or -25 so it will move it either left or right of the middle of the road.
ill upload what i come up with when i do
Appreciate it.
In the script change the "private _roads = [worldSize/2,worldSize/2] nearRoads worldSize;" line. that will change what roads are effected by the function.
Is it possible to make the wreckage and garbage spawn only within trigger area?
You can increase the chance of a vehicle being spawned. That would increase the amount of wrecked vehicles.
No, when you call the function just append your array of positions and ranges to the forth item in the function parameters.