Code: Select all
Game.CreateObject("FLAGPOLEUSTHROWN", ply.GetWorldPosition() + new Vector2(ply.FacingDirection*10, 10), 0f, new Vector2(ply.FacingDirection*50, 5), 0f);
Code: Select all
Game.CreateObject("FLAGPOLEUSTHROWN", ply.GetWorldPosition() + new Vector2(ply.FacingDirection*10, 10), 0f, new Vector2(ply.FacingDirection*50, 5), 0f);
Code: Select all
IObject obj= Game.CreateObject("FlagpoleUS00", ply.GetWorldPosition() + new Vector2(ply.FacingDirection*10, 10), 0f, new Vector2(ply.FacingDirection*50, 5), 0f);
obj.TrackAsMissile(true);