• 0

    posted a message on Triggers - UI - Display/Hide images

    1 More thing.

    If you hide the Screen Image using Hide Screen Image for All Players, you wont be able to show it again as a Dialog item

    you'll have to create it again Display Screen Image with the same properties right after you hide it in order to be able to show it again as a dialog item

    Posted in: Triggers
  • 0

    posted a message on Triggers - UI - Display/Hide images

    You can Hide a Scrren Image for a Specific Player !

    Here is the Trigger:

    Dialog - Hide (Screen image 1 dialog item) for (Player group((Triggering player)))

    1- Add Action: Show/Hide Dialog Item , Set it to Hide : p

    2- Change the Dialog Item to "Screen Image Dialog Item" from "Functions", Choose the Image Number (You can get it from the Trigger that Created the Screen Image).

    3- Change the Player to "Convert Player to Player Group" From Functions.

    4- Choose "Triggering Player" from "Functions".

    Posted in: Triggers
  • 0

    posted a message on Items - Manipulating Energy Cost?

    Do You mean something like Duplicate the Ability, Change its energy cost and assign it to the unit ? and if there are more than one unit of the type you want maybe Duplicate the unit it slef, Assign the Duplicated Ability and make one version of it on the map ?

    Posted in: Triggers
  • 0

    posted a message on help with Physics Engine

    Thx !!!, It did Reduce the chance to scale the cliff significantly !!! : )

    By Raising the Cliffs 1 Leve and Changing the Move Order into this:

    Events

    Unit - unit1 is issued an order to Move

    Local Variables

    angle = (Angle from (Position of unit1) to (Target point for (Triggering order))) <Real>

    Actions

    -----------------

    General - If (Conditions) then do (Actions) else do (Actions)

    If

    0 <= (Ground height at (Target position for (Triggering order))) <= 10

    Then

    Variable - Set destination = (Target point for (Triggering order))

    Else

    Unit - Order (Triggering unit) to ( Move targeting Point 001) (Replace Existing Orders)

    Variable - Set destination = Point 001

    ----------------

    Variable - Set Engine Force = 400.0

    Animation - Set the Default animation time scale for (Actor for unit1) to 0.1

    and to make the Snare Work on the units i added this line to the Car System Conditions:

    (unit1 ability command Move is in state Disabled) == False

    tho i dont have any ideas on how to make it stop when the road is blocked by a Force Field or anything of that sort.

    any ideas on that ?

    Posted in: Triggers
  • 0

    posted a message on help with Physics Engine

    Hello World :)

    this is my first post here

    i'am making a map with "HaggisNZ" Physics Engine, Basically the map is a race with abilites, and am thinking of expanding it into a game like "Twisted Metal" or something like that.

    i'am still at the beggining (and am still a begginer :) ), now i managed to modify the variables for the physics engine so i can make diffrent stats for diffrent units, but there is one thing that i cant fix -.-

    The Hellion ! ( or any unit that the physics are applied to :p ) can scale cliffs ( especially at the corners) and walk through Force Fields if you are constantly Ordering the hellion to move ahead, and effects that Snare the target like Fungal Growth would just make the car Move Forward with the same speed (without being able to turn it left or right) :p.

    after some testing I realized that the "Move Unit Instantly - Point with Offset" is the cult, i tried to replace it with "Issue Order - Move" to the same point with offset but that made the unit speed very slow (and ofc the weird movement :p).

    is there anyway to fix this ?

    Here is the map file

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