1. In the actor-creator I have timer expired event under which I have Create action with 2 fields: name and content. I filled both with (selected) "actor" and creatable actor's name choosen from the list.
2. In creatable actor I have timer expired event with source field filled with actor-creator name. And Create action with no fields filled under this event.
Do you set up a timer, which can trigger the Timer Expired event? Note, that this event does not fire for a trigger timer with a timer window and stuff, but for a timer created within the actor events using the Timer Set message.
When using the create action to create an attached actor you must leave the content field blank (look at leviathan for example). Also have you set up the Hosting - Host - Subject on the attached actor?
With the Timer Expired event you must leave all fields blank and use the Timer Name term.
Yes, look at the picture. There are 2 events in actor-creator, set timer and timer expired.
It supposed to create another actor (which named "terrain deformer 1 back"). But it doesn't. Maybe it creates, but not in the same point where the actor-creator was placed.
It wan't actually supposed to be an attached actor. I was going to create the first actor by a trigger, so then the first actor to create the second one and then to be destroyed, leaving the first one exist.
But seems like the Hosting - Host - Subject is the only field which tells an actor at what point he have to be created. So, now, after I filled this field, and made content field of the Create action blank, it started to work how it supposed to. Thank you.
ATTACHMENTS
actor_create_1.JPG
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I want my actor to create another actor.
I've tried 2 things:
1. In the actor-creator I have timer expired event under which I have Create action with 2 fields: name and content. I filled both with (selected) "actor" and creatable actor's name choosen from the list.
2. In creatable actor I have timer expired event with source field filled with actor-creator name. And Create action with no fields filled under this event.
Both doesn't create anything. What do I do wrong?
Do you set up a timer, which can trigger the Timer Expired event? Note, that this event does not fire for a trigger timer with a timer window and stuff, but for a timer created within the actor events using the Timer Set message.
When using the create action to create an attached actor you must leave the content field blank (look at leviathan for example). Also have you set up the Hosting - Host - Subject on the attached actor?
With the Timer Expired event you must leave all fields blank and use the Timer Name term.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@Kueken531: Go
Yes, look at the picture. There are 2 events in actor-creator, set timer and timer expired.
It supposed to create another actor (which named "terrain deformer 1 back"). But it doesn't. Maybe it creates, but not in the same point where the actor-creator was placed.
@DrSuperEvil: Go
It wan't actually supposed to be an attached actor. I was going to create the first actor by a trigger, so then the first actor to create the second one and then to be destroyed, leaving the first one exist.
But seems like the Hosting - Host - Subject is the only field which tells an actor at what point he have to be created. So, now, after I filled this field, and made content field of the Create action blank, it started to work how it supposed to. Thank you.