Hey guys. I'm making a tower defense and i know you're probably saying omg he's asking how to make units turn. No that's not what this is about. I already know how to do that and have got it working except for one problem. When i try to create the model addition For some reason it won't work when i build the unit.
If i use the Unit Birth event, the addition shows up only when it is placed in editor. The model acts like it's supposed to uses the photon cannons turret to turn and attack units everything is great. However this only works when i place the unit in the editor, if i use the build ability the model addition doesn't show up at all??
If i use the Unit Creation event, the addition doesn't show up when placed in editor. But when i build it it shows up right when i start construction which makes the warp in construction animation look funny because he is already there. Also when it's created this way the unit won't turn to attack unit's with the photon cannons turret.
If i use the Unit Construction event, and i don't select Cancel,Finish, or Start. The addition is only created while it is building and disappears once it's created. if i don't select Cancel, Finish, or Start the addition doesn't show up at all whether it's build or placed in the editor.
Am I missing something, or is there another event i can use that will allow the addition to show up once the building process is finished and it uses the Photon Cannons turret to face enemies and attack?
UnitConstruction.UnitName.Finish should work. You can also use the Progress actor used by the construction process, check Terran construction models (use the ProgressLevel Term to create the attachment in the last stage of construction)
And then there's the really hacky way, just use ActorCreation->TimerSet with a duration equal to the build time, and then TimerExpired->Create"Attachment"
i've already tried the unit construction finish like i said in my first post. he doesn't show up at all...
edit- UnitConstruction.Finish>Create did actually work. i realized that the model addition was inheriting all the properties of the original unit model. Fix is inthe edit- of the post below
I've realized that the model addition wasn't showing up because once i create it it would take on the same scale and opacity as the photon cannon.
I've unchecked all accepted and inherited property values on the model addition however it still inherits all the properties of the original model. any suggestions?
edit- I went to the model additions events and added: Actor Creation>Set Opacity 1, and Actor Creation>Set Scale 10. And that made the model addition visible and full scale. Fixed all my problems. Thanks for you're help and views hope this helps anyone else who runs into these problems.
Hey guys. I'm making a tower defense and i know you're probably saying omg he's asking how to make units turn. No that's not what this is about. I already know how to do that and have got it working except for one problem. When i try to create the model addition For some reason it won't work when i build the unit.
If i use the Unit Birth event, the addition shows up only when it is placed in editor. The model acts like it's supposed to uses the photon cannons turret to turn and attack units everything is great. However this only works when i place the unit in the editor, if i use the build ability the model addition doesn't show up at all??
If i use the Unit Creation event, the addition doesn't show up when placed in editor. But when i build it it shows up right when i start construction which makes the warp in construction animation look funny because he is already there. Also when it's created this way the unit won't turn to attack unit's with the photon cannons turret.
If i use the Unit Construction event, and i don't select Cancel,Finish, or Start. The addition is only created while it is building and disappears once it's created. if i don't select Cancel, Finish, or Start the addition doesn't show up at all whether it's build or placed in the editor.
Am I missing something, or is there another event i can use that will allow the addition to show up once the building process is finished and it uses the Photon Cannons turret to face enemies and attack?
Thank you for any help. EFoG
UnitConstruction.UnitName.Finish should work. You can also use the Progress actor used by the construction process, check Terran construction models (use the ProgressLevel Term to create the attachment in the last stage of construction)
And then there's the really hacky way, just use ActorCreation->TimerSet with a duration equal to the build time, and then TimerExpired->Create"Attachment"
@Photoloss: Go
i've already tried the unit construction finish like i said in my first post. he doesn't show up at all...
edit- UnitConstruction.Finish>Create did actually work. i realized that the model addition was inheriting all the properties of the original unit model. Fix is inthe edit- of the post below
@Photoloss: Go
I've realized that the model addition wasn't showing up because once i create it it would take on the same scale and opacity as the photon cannon.
I've unchecked all accepted and inherited property values on the model addition however it still inherits all the properties of the original model. any suggestions?
edit- I went to the model additions events and added: Actor Creation>Set Opacity 1, and Actor Creation>Set Scale 10. And that made the model addition visible and full scale. Fixed all my problems. Thanks for you're help and views hope this helps anyone else who runs into these problems.