Author
|
Topic: New problem: How can I make the enemies attack Dink?
|
Soundwalker |
posted 05-05- 08:10 PM CT (US)
I know how to put and edit sprites on the screen, making them move. But how can I make them to have a hostile behavior?
|
NeonWaters
|
posted 05-05- 09:46 PM CT (US)
Look at the code for the enemies in the first dink. The .c files should be in a zipped file in you Dink dir. Then learn from it. You also should download dink C help file at http://dink.telefragged.com/ and read up on the brains. ~~NeonWaters~~ |
Soundwalker
|
posted 05-08- 08:32 PM CT (US)
Now I know how to make the enemies attack Dink, but how can I make Dink be able to attack them? What file in the source should I open and analize? |
Wyndo
|
posted 05-09- 03:11 PM CT (US)
You need to add_item -- or add_weapon, or something like that. The weapon scripts are included with Dink, just "give" the item to dink. |