-
Notifications
You must be signed in to change notification settings - Fork 30
Description
Describe the error
Hello guys,
if I use the "Train Spawner" tool, is seems only the first wagon get the correct assign of entity to the player, I found this issue by using the wiremod on the train.
If you spawn the train manually (w/o "Train Spawner") the entity work how expected.
How to get:
Set-by-step how to recreate an error.
- Take the tool "Train Spawner";
- Take the 81-717 (Moscow Custom) then add some wagons (like 4);
- Then place an E2 with the following code in the middle of the train composition and wait ~15 seconds, code:
@name TEST ENTS
@outputs A:array
interval(10000)
findInSphere(entity():pos(),1000)
findIncludeClass("gmod_subway_81-717_mvm")
findIncludeClass("gmod_subway_81-714_mvm")
A = findToArray()
for(I = 1,A:count()){
print(I:toString() + " " + A[I,entity]:id():toString() + " " + A[I,entity]:owner():toString())
}
- You get this list on chat:
(Example)
[Record] [ENT ID] [Owner of the entity]
1 752 (null)
2 746 (null)
3 726 Player [1][PlayMaster6176[PoG]]
4 740 (null)
What do i expect: (Note: I had reach this result by spawining the train manually without train spawner)
(Example)
[Record] [ENT ID] [Owner of the entity]
1 756 Player [1][PlayMaster6176[PoG]]
2 748 Player [1][PlayMaster6176[PoG]]
3 718 Player [1][PlayMaster6176[PoG]]
4 740 Player [1][PlayMaster6176[PoG]]
Console output
None
Console output screenshot
None
Game information
- Garry's mod Version: beta /x86-64/chromium
- Where the error happens: on server
- Custom Metrostroi user mods: no
- Operation System: Windows