Jump to content

Photo

Invincibility


  • Please log in to reply
2 replies to this topic

#1 TheLegend_njf

TheLegend_njf

    Deified

  • Members
  • Real Name:Grant

Posted 29 July 2016 - 04:57 PM

Looking for a quick FFC script to make Link invincible on screen. This will be used to prevent enemies from hurting me during a particular cutscene.



#2 idontknow8

idontknow8

    Senior

  • Members

Posted 29 July 2016 - 05:14 PM

To make Link invisible & invincible:

ffc script Link_Invincible{
    void run(){
        Link->CollDetection = false;
        Link->Invisible = true;
     }
}

To make him reappear, just set the opposite:

ffc script Link_Reappear{
    void run(){
        Link->CollDetection = true;
        Link->Invisible = false;
     }
}

Edited by idontknow8, 29 July 2016 - 05:20 PM.

  • ShadowTiger likes this

#3 TheLegend_njf

TheLegend_njf

    Deified

  • Members
  • Real Name:Grant

Posted 29 July 2016 - 07:14 PM

Thank you.

 

Truth be told, looking at what you got there and remembering what I've learned. These were simple scripts I could have figured out by myself if I had given myself the time. But I was pretty much looking for something on the fly, and you helped me greatly. So I appreciate it. 




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users