Login

russian armor

Unit management

22 Mar 2016, 21:52 PM
#1
avatar of Spiff
Patrion 14

Posts: 7

Hi!

Does anybody know how the game handles the units in game?

I know they have unit IDs like 50000 and upwards but is there any documentation on this?
How does the game "know" that a unit is dead? Will the unit ID be replaced by another unit when it enters the field? If not, can dead units be resurrected by a script?
And what about the ownage, how are the owners called within the game (like player1, player2,...) and how are they connected to the units?
Are there any direct triggers for the tank guns when the cooldown is set to 0 if that's possible?

If you have some answers, I'd be happy. :-)

Thanks!
Spiff
23 Mar 2016, 00:06 AM
#2
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

This is about the best official documentation you will get:

http://fortresseuropemod.com/scardoc

You can use a Game Event to trigger on the death of a Squad, then create a new Squad that is identical to the one that died. The only difference will be ID, which is not visible to players.

Everything in the game has an ID and an Object, including Players. The ID is a number, while the Object is what is referred to in Player_ functions (even though it is sometimes called an ID there, too).
29 Mar 2016, 13:46 PM
#3
avatar of Spiff
Patrion 14

Posts: 7

Hi eliw00d,

thanks a lot, very good source!

What exactly is an Egroup or Sgroup for?
Is it just a helper for giving several entities/squads the same command instead of giving it several times to every single entity/squad?

Spiff.
29 Mar 2016, 16:55 PM
#4
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

Essentially, yes.
1 user is browsing this thread: 1 guest

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

530 users are online: 530 guests
1 post in the last 24h
7 posts in the last week
39 posts in the last month
Registered members: 49061
Welcome our newest member, Rihedcfrd
Most online: 2043 users on 29 Oct 2023, 01:04 AM