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
97 | |||||
34 | |||||
25 | |||||
10 | |||||
8 | |||||
5 | |||||
1 | |||||
634 | |||||
26 | |||||
20 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.653231.739+13
- 2.838223.790+1
- 3.35057.860+15
- 4.590233.717+6
- 5.278108.720+29
- 6.306114.729+2
- 7.645.928+5
- 8.922406.694+1
- 9.1118621.643-1
- 10.265138.658+2
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
10
Download
1243
Board Info
720 users are online:
720 guests
0 post in the last 24h
2 posts in the last week
28 posts in the last month
2 posts in the last week
28 posts in the last month
Registered members: 49388
Welcome our newest member, KETTA
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, KETTA
Most online: 2043 users on 29 Oct 2023, 01:04 AM