Jump to content

Photo

Gauntlet of light


  • Please log in to reply
4 replies to this topic

#1 Alex H

Alex H

    Newbie

  • Members

Posted 20 August 2011 - 01:01 PM

I would like to request an object called the gauntlet of light. It does 3 things:

Edits the homing factor of an enemy that is hit by it's magic so that enemies like octoroks and stalfos can't see link.
Toggle an FFC that shoots magic in the opposite dierection(toggle)
ex:if you shoot it from left it will toggle shooting continous magic out the right

sets bool Lit to true


I hope this is possible

Edited by Alex H, 20 August 2011 - 01:04 PM.


#2 Mero

Mero

    Touch Fluffy Tail

  • Banned
  • Real Name:Tamamo No Mae
  • Location:Rainbow Factory

Posted 20 August 2011 - 01:08 PM

QUOTE(Alex H @ Aug 20 2011, 12:01 PM) View Post

I would like to request an object called the gauntlet of light. It does 3 things:

Edits the homing factor of an enemy that is hit by it's magic so that enemies like octoroks and stalfos can't see link.
Toggle an FFC that shoots magic in the opposite dierection(toggle)
ex:if you shoot it from left it will toggle shooting continous magic out the right

sets bool Lit to true
I hope this is possible


Sorry but editing the homing factor of an enemy isn't possible because the function isn't writable.

#3 Alex H

Alex H

    Newbie

  • Members

Posted 20 August 2011 - 04:57 PM

Is it possable to make it so an enemy thaty usually follows you doesn't?

#4 Mero

Mero

    Touch Fluffy Tail

  • Banned
  • Real Name:Tamamo No Mae
  • Location:Rainbow Factory

Posted 20 August 2011 - 05:36 PM

May'be if you set the directions every frame you could get away with overriding the effects of homing factor which is to make an enemy home in to link when aligned. At least that's my interpretation of it.

As for making them move away from Link. Just set their direction either with AngleDir4 or AngleDir8 depending on their movement to the angle of Angle(Link->X, Link->Y, npc->X, npc->Y). That should do it. I can write a global function to do that for you when lit is true if you want.

#5 Alex H

Alex H

    Newbie

  • Members

Posted 20 August 2011 - 07:43 PM

Thanks, that would be great! I'm still getting used to all the functions and stuff.


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users