I hope u will undestand what i want^^ my english is not really good ;(
I Want to know how to create a Animation which open the Gate from the
"Rampart_Wall" from the "Arena Objects". (heroes V toe)
-------------------------------
Thats what i have allready try:
First i`ve just add the Animation Set "Gate_0" in the properties
*shared [...] --> animation set [...]*
And then add the script for the animation:
function Gateopen()
if GetCurrentPlayer() == PLAYER_1 then
PlayObjectAnimation("Gate", "open", ONESHOT_STILL);
end;
end;
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "Gatearea", "Gateopen")
It doesn`t work. Mabe the animation Set isnt made for this
Object.
----------------------------------
If i change the Model of the "Rampart_Wall" to
"Model:Arenas\CombatArena\RampartArena\gate1_u1r0"
the object works fine with the animaton set "gate_0",
but the object change to a smaller Gate and it is placed far out of the map.
(if direct the *small gate* from far out the map to the playable map area with changing the Coordinates
like "x=-130; y=-120 ; z= -9" the map will be broken after the next reload)
--------------------------------
I hope anyone could help me to add this animation on the "rampart_wall"
or take the smaller gate onto the map without creating errors
