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
31 | |||||
8 | |||||
5 | |||||
4 | |||||
4 | |||||
2 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.655231.739+15
- 2.842223.791+5
- 3.939410.696+5
- 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
959 users are online:
959 guests
1 post in the last 24h
10 posts in the last week
27 posts in the last month
10 posts in the last week
27 posts in the last month
Registered members: 50004
Welcome our newest member, Abtik Services
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, Abtik Services
Most online: 2043 users on 29 Oct 2023, 01:04 AM