[project1dev] Re: Project1 - SVN Update 759

  • From: Alan Wolfe <alan.wolfe@xxxxxxxxx>
  • To: project1dev@xxxxxxxxxxxxx
  • Date: Sun, 23 May 2010 13:46:17 -0700

all i meant by that was like have some kind of variable "IsHoming" that
starts off false.

if homing is false it does the normal bullet logic of flying til it hits
something or gets near an enemy or anything else destructible.

If it hits something (ie the terrain), the bullet is dead.

If it gets near something that is destructible, it sets IsHoming to true and
remembers what object it's homing at

If homing is true, it just heads towards the object and when it hits it,
does damage.

i think thats kinda what you have set up in your script right?

On Sun, May 23, 2010 at 12:48 PM, Apache User
<dhapache@xxxxxxxxxxxxxxxxxxx>wrote:

> User:korgath
>
> Message: --added homing functionality to fireball
>
> Alan  -You mentioned giving it a state for homing. Not sure how you would
> format that in the code.
>
> <Files Changed>
> U   ActRaiser/Scripts/GameOverworld/PlayersFireball.lua
>
>
> ==============================
> Project 1 Dev mailing list
> to unsubscribe, please send an email request to demofox@xxxxxxxxxxx
> Project 1 website: http://project1.demofox.org
> Project 1 SVN repository: http://pyotek.com/project1
>

Other related posts: