Login

russian armor

How To Make Trenches Invulnerable (picture)

11 Jul 2015, 19:42 PM
#1
avatar of Williamz

Posts: 15

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.

11 Jul 2015, 20:43 PM
#2
avatar of IronMedic

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
avatar of Williamz

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
avatar of Knightsubzero

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
1 user is browsing this thread: 1 guest

Livestreams

United Kingdom 203
United States 40
United States 16

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

797 users are online: 797 guests
0 post in the last 24h
7 posts in the last week
34 posts in the last month
Registered members: 49122
Welcome our newest member, Harda621
Most online: 2043 users on 29 Oct 2023, 01:04 AM