コード例 #1
0
        public static void CreateBigTeleporterItem( int x, int y, bool reverse )
        {
            if ( FindMorphItem( x, y, 0, reverse ? 0x17DC : 0x17EE, reverse ? 0x17EE : 0x17DC ) )
                return;

            MorphItem item = new MorphItem( reverse ? 0x17DC : 0x17EE, reverse ? 0x17EE : 0x17DC, 1, 3 );

            item.MoveToWorld( new Point3D( x, y, 0 ), Map.Felucca );
            m_Count++;
        }
コード例 #2
0
		public static void CreateMorphItem( int x, int y, int z, int inactiveItemID, int activeItemID, int range )
		{
			if ( FindMorphItem( x, y, z, inactiveItemID, activeItemID ) )
				return;

			MorphItem item = new MorphItem( inactiveItemID, activeItemID, range, 3 );

			item.MoveToWorld( new Point3D( x, y, z ), Map.Felucca );
			m_Count++;
		}
コード例 #3
0
        public static void CreateApproachLight( int x, int y, int z, int off, int on, LightType light )
        {
            if ( FindMorphItem( x, y, z, off, on ) )
                return;

            MorphItem item = new MorphItem( off, on, 2, 3 );
            item.Light = light;

            item.MoveToWorld( new Point3D( x, y, z ), Map.Felucca );
            m_Count++;
        }
コード例 #4
0
ファイル: GauntletSpawner.cs プロジェクト: Godkong/Origins
		public static void CreateMorphItem( int x, int y, int inactiveItemID, int activeItemID, int range, int hue )
		{
			MorphItem item = new MorphItem( inactiveItemID, activeItemID, range );

			item.Hue = hue;
			item.MoveToWorld( new Point3D( x, y, -1 ), Map.Malas );
		}