emootootoo
Top Banana
- Reaction score
- 51
Where's the equiv to maximum pitch/roll from world editor to rotate a unit sideways and stuff? If there is one anyway.
p = Point(x,y);
if (ModI(Guys[i].count,2) == 0)
{
libNtve_gf_ShowHideUnit(Guys[i].theGuy,true);
UnitSetPosition(Guys[i].theGuy,p,false);
ActorSend(libNtve_gf_MainActorofUnit(Guys[i].theGuy2),libNtve_gf_SetRotation(0,-1,10,0,0,0));
libNtve_gf_ShowHideUnit(Guys[i].theGuy2,false);
}
else
{
libNtve_gf_ShowHideUnit(Guys[i].theGuy2,true);
UnitSetPosition(Guys[i].theGuy2,p,false);
ActorSend(libNtve_gf_MainActorofUnit(Guys[i].theGuy),libNtve_gf_SetRotation(0,-1,10,0,0,0));
libNtve_gf_ShowHideUnit(Guys[i].theGuy,false);
}