![]() |
![]() ![]() ![]() ![]() ![]() |
Author | Topic: Dunno how to do this... |
IZT |
![]() ![]() ![]() Hi all, I'm a beginner with lots of ideas: 1) Summoning spells b) What 'bout homing spells, for example a seeker sphere..? How could I make the targetting system...? c) Could I make a familiar which would follow Dink, but couldn't be controlled by the user... So it could run to kill monsters if it's not trained well. Hope someone understands what I'm sayin' and helps me. |
FF4LIFE |
![]() ![]() ![]() Actualy, yes, i'm thinking about doing a summoning spell of sorts. Basicly, you check for anything with a brain of 9 or 10, and if there is one, set the target as that sprite. This would be as follows:
int &crappy = get_sprite_with_this_brain(9, ¤t_sprite); thus, it will search out a sprite with brain 9 every 2.5 seconds, and if there is one, it'll follow it. You can also do this with brain 10 if you use that brain for monsters. Now, if you want it to follow dink if there is no moster, but this after: if (&crappy == 0) now it will follow you and every 2.5 seconds look for someone with a brain, and if there isn't one, keep following you. This should get you started pretty well on summoning characters. |
IZT |
![]() ![]() ![]() Thanks for help, but as I said, I'm total newbie... So I place that script to the summoned creature's file? For example squirrel.c ...? Well thanks anyway, I'm glad someone understood.. *smile* -IZT |
Beuc |
![]() ![]() ![]() Dan Walma a.k.a. Redink1 made a "dink friendly double" script, which makes a 2nd Dink punch ennemies. It doesn't work properly, but you may study it. |
IZT |
![]() ![]() ![]() So Now I've got a nice little pig running after dink, and attacking slayers, and getting killed *smile* And you can get one from a nice old pig farmer named Dink Smallwood... The main char of my upcoming DMOD Spilled Ink, (SpilleDink)is his grandson, but doesn't know that... Thanks for help, I'm sure I have more questions to ya all.. -IZT |
Darius Wolfe |
![]() ![]() ![]() You may want to add a bit of script to the summoned creature and to non-hostile sprites (or to hostile ones, whichever are fewer) which have the same brain as whatever the seeker is meant to attack, something like: if (&friendly == 0) Then have friendly Brain9 (or whatever) NPCs have the text: &friendly = 1; and monsters: &friendly = 0; It might keep embarassing incidents, such as your piggie attacking guards, or somesuch, from happening. In my DMOD (tentatively titled "Lost in Serenia") doing certain things, such as attacking guards, can have you branded a criminal, which will have the guardians (bad mo-fo's) after you until the status is resolved. |
nwdel |
![]() ![]() ![]() Beuc was right. You can usedink friendly double for a start, but if you want to let "Dink2" walk right behind you, you'd first put let dink2 attack dink with no power, and IF there is a creature you should attack (the &friendly thing) set attack power up, and let him ATTACK!!! |
![]() ![]() |
Powered by: Ultimate Bulletin Board, Freeware Version 5.10a
Purchase our Licensed Version- which adds many more features!
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 2000.