Hi, newbie here. I was wondering how to make trenches invulnerable? I've looked it up on the forum and saw another post about it but it wasn't very descriptive. Thanks.
How To Make Trenches Invulnerable (picture)
11 Jul 2015, 19:42 PM
#1
Posts: 15
11 Jul 2015, 20:43 PM
#2
Posts: 318
- Select the desired entities to make invulnerable.
- Groups--> Create entity group. (Ctrl+G)
- Name the group something appropriately. (like "eg_invulnerable")
- Add the code below to your script file.
import("ScarUtil.scar")
function makeinvulnerable()
-- Entity Groups
EGroup_SetInvulnerable(eg_invulnerable, true)
end
Scar_AddInit(makeinvulnerable)
11 Jul 2015, 22:16 PM
#3
Posts: 15
- Select the desired entities to make invulnerable.
- Groups--> Create entity group. (Ctrl+G)
- Name the group something appropriately. (like "eg_invulnerable")
- Add the code below to your script file.
Thanks for the reply, Iron. It didn't work the way I intended. The problem I'm having is the trench can be crushed. I would like it so that tanks can drive over without the crush happening.
12 Jul 2015, 01:50 AM
#4
Posts: 32
i think you might want something like this...see link
https://www.youtube.com/watch?v=OWg-D2NayLw
tanks cant roll over that...but neither will it be destroyed
https://www.youtube.com/watch?v=OWg-D2NayLw
tanks cant roll over that...but neither will it be destroyed
PAGES (1)
0 user is browsing this thread:
Livestreams
18 | |||||
7 | |||||
38 | |||||
22 | |||||
6 | |||||
3 | |||||
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.655231.739+15
- 2.842223.791+5
- 3.940410.696+6
- 4.35459.857-1
- 5.599234.719+7
- 6.278108.720+29
- 7.307114.729+3
- 8.645.928+5
- 9.10629.785+7
- 10.527.881+18
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
11
Download
1265
Board Info
990 users are online:
990 guests
1 post in the last 24h
9 posts in the last week
27 posts in the last month
9 posts in the last week
27 posts in the last month
Registered members: 50008
Welcome our newest member, Goynet40
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, Goynet40
Most online: 2043 users on 29 Oct 2023, 01:04 AM