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
7 | |||||
57 | |||||
22 | |||||
2 | |||||
2 | |||||
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.968562.633+23
- 2.555227.710+11
- 3.278110.716+16
- 4.269144.651+1
- 5.29446.865-1
- 6.253150.628+14
- 7.250135.649+1
- 8.8119.810+1
- 9.22491.711+11
- 10.13556.707+3
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
7
Download
767
Board Info
489 users are online:
489 guests
16 posts in the last 24h
42 posts in the last week
156 posts in the last month
42 posts in the last week
156 posts in the last month
Registered members: 45183
Welcome our newest member, Ebey
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, Ebey
Most online: 2043 users on 29 Oct 2023, 01:04 AM