• 0

    posted a message on Slide
    Quote from Forge_User_44611484: Go

    Please instert your trigger in code tags (click the Markup Type icon, and click ok, then instert your code inside the tags created for you)

    Done

    Posted in: Triggers
  • 0

    posted a message on Slide

    I want to do ice escape (slide map). Please look what do not right in my triggers:
    Event:
    TriggerAddEventUnitRegion((UnitLastCreated()), Ice Smooth,true)
    Local Variables:
    a=(UnitGetFacing((EventUnit())))) <fixed>
    x=(UnitGetPosition((UnitLastCreated()))) <point>
    Actions:
    SetVariable(a, (UnitGetFacing((EventUnit()))))
    SetVariable(x, (UnitGetPosition((EventUnit()))))
    Repeat Forever()
    actions:
    Wait(0.001 c_timeGame)
    UnitSetPosition((UnitLastCreated()), (PointWithOffsetPolar(x, 0.1, a)), true)

    When start the map and unit go on ice,he just walks on ice and there is a lot of mistakes "can not be obtained unit of parameter unitsetposition (value 0,0?)

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