Jump to content

Photo

Freefrom Enemys


  • Please log in to reply
5 replies to this topic

#1 Sans

Sans

    Hey kid wanna buy hot dogs ?

  • Members
  • Location:Judgement Hall

Posted 01 July 2017 - 08:17 PM

hello everyone i have a question. Since i seen the video of the custom boss Pyron, i was wondering it's possible to make enemy appears we desire like a freefrom combo or the boss himself needs scripts ?

#2 Architect Abdiel

Architect Abdiel

    Kingdom Builder

  • Members
  • Real Name:Michael
  • Location:Florida

Posted 01 July 2017 - 08:24 PM

You can place the enemies individually with thr enemy flags.

Enemy 0, Enemy 1, Enemy 2, etc...

#3 Sans

Sans

    Hey kid wanna buy hot dogs ?

  • Members
  • Location:Judgement Hall

Posted 01 July 2017 - 08:41 PM

yes but i means really in middle of the screen and not beside always each combos but really between like a ffc stuffs.

#4 Timelord

Timelord

    The Timelord

  • Banned
  • Location:Prydon Academy

Posted 01 July 2017 - 09:19 PM

Do you mean like this?

ffc script spwan_npc_here{
    void run(int npc_id){
        npc n = Screen->CreateNPC(npc_id);
        n->X = this->X;
        n->Y = this->Y;
        this->Data = 0;
        this->Script = 0;
        Quit();
    }
}

That will spawn the NPC (ID provided as D0) in the exact position of the ffc.


Edited by ZoriaRPG, 01 July 2017 - 09:19 PM.


#5 Sans

Sans

    Hey kid wanna buy hot dogs ?

  • Members
  • Location:Judgement Hall

Posted 01 July 2017 - 09:34 PM

thanks alot that really helps me alot

#6 Timelord

Timelord

    The Timelord

  • Banned
  • Location:Prydon Academy

Posted 01 July 2017 - 11:28 PM

thanks alot that really helps me alot

 

Not a problem, enjoy.

 

For anyone who was curious: No, you cannot use an ffc with a combo that has an inherent Enemy Placement flag to do this. Those are not scanned when determining where to spawn npcs, although we may be able to do something about that, in the future.


Edited by ZoriaRPG, 01 July 2017 - 11:30 PM.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users