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

Ladders Top 10

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

Replay highlight

Board Info

117 users are online: 2 members and 115 guests
serg_codmod, Brick Top
11 posts in the last 24h
116 posts in the last week
616 posts in the last month
Registered members: 28424
Welcome our newest member, idh88indo
Most online: 1221 users on 25 Feb 2020, 12:03 PM