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
Unit management
22 Mar 2016, 21:52 PM
#1
4
Posts: 7
23 Mar 2016, 00:06 AM
#2
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).
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
4
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.
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
Posts: 756 | Subs: 8
Essentially, yes.
PAGES (1)
1 user is browsing this thread:
1 guest
Livestreams
27 | |||||
17 | |||||
16 | |||||
4 | |||||
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.34957.860+14
- 3.589215.733+4
- 4.1099614.642-1
- 5.280162.633+8
- 6.305114.728+1
- 7.916405.693-2
- 8.271108.715+22
- 9.721440.621+3
- 10.1041674.607-2
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
9
Download
1231
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
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
Welcome our newest member, Rihedcfrd
Most online: 2043 users on 29 Oct 2023, 01:04 AM