Melee Attack and Projectiles in Maze Game

BasketJames

New member
I really hate to ask questions and bother everyone two days in a row, but I am running into problems trying to set up a melee attack and also a projectile attack in the maze-game tutorial.

I watched the (brief) demonstration that Mr. Granato showed in his Adventure tutorial, and I therefore brought those scripts over to the maze tutorial, and also set them up in the input linker.

If I talk to a NPC in the maze though, he or she will not give me the weapon. After adjusting (and then putting back to default) many things, I have to wonder if there is something in the adventure tutorial asm file for the melee , which will not allow it to work properly on the maze mode? Sometimes when compiling I would also get an error referencing a gameobject, if I remember correctly.

Thoughts? I'm not too concerned about getting a projectile up and running, but I at least want to get the guy to have a simple attack.

I
 

dale_coop

Moderator
Staff member
You can use either Adventure or Maze module...
For the NPC, make sure the "Text" you will use for that NPC is set to Give en Item .... with "Magic-Melee" for unlocking the Weapon ability (and/or "Magic-Projectile" for the projectiles ability).

2020-05-14-15-02-51-NES-MAKER-4-1-5-Version-0x159-MST.png


Also, make sure you assigned the input scripts (b_create_melee, a_create_projectiles) to your buttons (in the "Input Editor").

I'd suggest to watch again and again the tutorial videos, if something was not clear.
 
Top Bottom