How-to: Abandoned vehicles in a custom map [OLD]
8 Nov 2014, 02:42 AM
#21
Posts: 357
You may be using the wrong objects. I'm not sure which ones are designed for player control, I haven't ever added them.
8 Nov 2014, 05:12 AM
#22

Posts: 16
Yah, I assigned them to the wrong team! They work now, but some of them do not work the way I intended.
16 Feb 2017, 16:08 PM
#23
Posts: 18
Hey Guys, I know this thread is quiet old but maybe somebody is still hearing my desperate cry for help. XD
I've tried to place a bofors according to Yukiko's advice and it worked... nearly.
I used the code below in my mapname_ID.scar to place the bofors on marker 4 and it worked, but the Bofors can't be crewed. How can I tell this thing to take in some refugees. I would be very gratefull if somebody could help me out here.
function OnInitID()
-- [[ Markers ]]
mkr_4 = Marker_FromName("mkr_4","Ally Spawn")
-- [[ Squad Groups ]]
-- [[ Entity Groups ]]
Util_CreateEntities(nil, eg_bofors, EBP.BRITISH.BRIT_BOFORS_40MM_AUTOCANNON_MP, mkr_4, 1 )
end
I've tried to place a bofors according to Yukiko's advice and it worked... nearly.
I used the code below in my mapname_ID.scar to place the bofors on marker 4 and it worked, but the Bofors can't be crewed. How can I tell this thing to take in some refugees. I would be very gratefull if somebody could help me out here.
function OnInitID()
-- [[ Markers ]]
mkr_4 = Marker_FromName("mkr_4","Ally Spawn")
-- [[ Squad Groups ]]
-- [[ Entity Groups ]]
Util_CreateEntities(nil, eg_bofors, EBP.BRITISH.BRIT_BOFORS_40MM_AUTOCANNON_MP, mkr_4, 1 )
end
1 user is browsing this thread:
1 guest
Livestreams
|
|
|
45 | ||
|
|
|
235 | ||
|
|
|
15 | ||
|
|
|
5 | ||
|
|
|
4 | ||
|
|
|
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.1162405.742+12
- 2.1454788.649+17
- 3.579354.621+14
- 4.48970.875+13
- 5.580377.606+1
- 6.24061.797-1
- 7.388202.658-1
- 8.650265.710-2
- 9.351124.739+5
- 10.11151.685+11
Replay highlight
VS
-
cblanco ★ -
보드카 중대
-
VonManteuffel -
Heartless Jäger
Einhoven Country
Honor it
18
Download
3351
