I wanted a constructed entity (entity A) to spawn another entity (entity B) when construction of A was completed.
To achieve this, I simply added:
construction_ext
on_construction_actions
spawn_entity\ entity_blueprint : Link to Entity B ebps here with a duration of 9999.
So great, it does indeed spawn Entity B when construction is complete.
As a sidenote, I also tried adding spawn_item directly under action_apply_ext \ actions and that works too.
However, the problem is the spawned entity B doesn't seem to attach or be bound to entity A, meaning that if entity A is destroyed B remains.
Under advice I had a look at the retreat point ability and so far as I was able to tell, the ability when toggled on spawns the retreat point and the marker entity but there's no clear indication of de-spawning mechanics inferring that the spawned entity only exists for as long as the ability is active and upon toggling off the perquisite the entity can not exist and thus doesn't.
Yet it seems to work differently when an entity spawns another automatically.
Am I missing something here? Thanks.
Issues spawning and de-spawning one entity from another.
4 Dec 2020, 15:10 PM
#1
Posts: 71
6 Dec 2020, 09:52 AM
#2
Posts: 317
What you could try is adding a filter action to the death action of entity A that would target your entity B and destroyed it like that.
PAGES (1)
1 user is browsing this thread:
1 guest
Livestreams
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.34957.860+14
- 3.589215.733+4
- 4.1098613.642+2
- 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
679 users are online:
679 guests
3 posts in the last 24h
6 posts in the last week
38 posts in the last month
6 posts in the last week
38 posts in the last month
Registered members: 49059
Welcome our newest member, Macnas24
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, Macnas24
Most online: 2043 users on 29 Oct 2023, 01:04 AM