User Tag List

Results 1 to 4 of 4

Thread: Enemy questions

  1. #1
    Octorok Master_of_Power's Avatar
    Join Date
    May 2001
    Age
    35
    Posts
    496
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    2,196
    Level
    15
    vBActivity - Bars
    Lv. Percent
    47.1%

    Enemy questions

    How can you make an enemy change its attacks for a certain number of tics and goes back to its original attack? Have 3 attacks? 4?

    And how would you make it change its attack and strength of attack depending on health?

    How about color depending on health? Graphic?

    How about a script that checks enemy's heath and shows a graphic for how much health it has?

    I'm doing a scripting test, and I will ask questions along the way here.

    And if you don't mind give it to me in simple English and perhaps an example of each.
    Keeping something big a secret, in case it doesn't work out I can understand.
    But he deliberatly drops little hints just to drive us mad.

  2. #2
    Wizrobe C-Dawg's Avatar
    Join Date
    Jan 2002
    Posts
    4,205
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    6,611
    Level
    24
    vBActivity - Bars
    Lv. Percent
    99.9%

    Re: Enemy questions

    Work with my enemy_ghosting script and your questions are all answered.

    Changing attacks and graphics with health? Easy. Monitor the fire enemy you've ghosted, and when its HP drops to a certain level, change the FFC behavior. Simple as pie.

    For instance, this code will bump the FFC to the next combo when the ghosted enemy's HP drops to ten.

    Code:
    if(ghosted_enemy->HP <= 10) {this->Data++;}

  3. #3
    Octorok Master_of_Power's Avatar
    Join Date
    May 2001
    Age
    35
    Posts
    496
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    2,196
    Level
    15
    vBActivity - Bars
    Lv. Percent
    47.1%

    Re: Enemy questions

    Let me clarify what I ment. Regular Enemies. Sorry for the confusion. However, you did help me with that, I think, since as of yet I still suck at scripting, I don't know whats right and wrong, but anyhoo, I got yet another question.

    If a FFC was scripted to mirror Link's movements and has a combo type/flag "No Enemies" would it push the enemy around?
    Keeping something big a secret, in case it doesn't work out I can understand.
    But he deliberatly drops little hints just to drive us mad.

  4. #4
    Developer
    ZC Developer
    jman2050's Avatar
    Join Date
    Jun 2001
    Location
    Do you really need to know
    Age
    37
    Posts
    3,883
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    5,709
    Level
    23
    vBActivity - Bars
    Lv. Percent
    46.18%

    Re: Enemy questions

    As far as i know, no. No Enemies only prevent he enemy AI from going into that space. However, it can be overridden by assigning the X/Y via scripting.
    AGN's Resident Zelda Classic Developer and Sonic the Hedgehog Fanboy

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social