• 0

    posted a message on Need help creating a Dialog Item button for a progressing upgrade

    Hi, there,

     

    You can try the following:-

     

    1. Instead of creating a progress bar for dialog, put create a button for dialog instead under the Create Dialog Item action.

    2. After the Set Dialog Item Size action, put in another action -> Move Dialog Item where this action will anchor the dialog item to your dialog.

    3. Lastly, remove the Set Dialog Item Unit action because it may be unnecessary and conflicting.

    4. Also, remove the action -> Set Dialog Fullscreen because putting this action will ignore the size of the dialog created action that you have created. 

     

    See if the above works out.

     

    Thanks.

     

    Posted in: Triggers
  • 0.950555356503045

    posted a message on [Solved] In need of help - Created actor is attached to unit, I need it to stay at where it was created. (Data)

    Hi, there,

     

    Sorry that I misunderstood your request, the best way is to create a Trigger with the following:-

     

    Event : Unit Uses Ability (Your morph Ability)

    Condition : Unit Type of (Triggering Unit) == (The Unit that uses the morph ability)

    Action : Create model (Your model) at Point (Specify the point -> eg. Position of (Triggering Unit))

     

    Thanks. Hopefully, this solves your problem. Feel free to ask if you have any further issues.

     

     

     

    Posted in: Data
  • 0.950790229885057

    posted a message on Where can I get the Actor Events Target codes ?

    Hi, Wonder_Rem,

     

    I guess that what you want is how to reference actors through Reference Set actor message. There are many ways to reference an actor within an actor, through setting Actor target ID within the Actor, through using signals, through using RefSet Actor message and so on.

     

    I will give you two examples for an attach model actor and they mean the same thing :-

     

    Let's say I want to change the blue sphere model attachment of the Tempest to red, so let's start.

     

    We determine two actors - the Tempest unit actor and the StormSphereAttachment model addition actor.

     

    Example 1

    In the Tempest Unit Actor Event, add in the following:-

     

    Actor Creation

    ->Target:StormSphereAttachment

    ->Set Tint Color 255,0,0

     

    Example 2

    In the StormSphereAttachment Actor Event, add in the following:-

     

    Actor Creation

    ->RefSet ::actor.Tempest ::Self

     

    RefSet

    ->RefEquals ::actor.Tempest ::Self

    ->Set Tint Color 255,0,0

     

    So, both examples ended in the blue sphere model of the Tempest turning red. 

     

    For more references and guidance, do look at the following guide :-

     

    https://s2editor-guides.readthedocs.io/Classic_Tutorials/04_Misc/actor-cheats/

     

    Thanks.

     

     

     

     

    Posted in: Data
  • To post a comment, please or register a new account.