ID:150502
Sep 12 2001, 8:13 am
|
|
can annyone tell me the command to look up that will help me maje another mob appear next to a mob for a sec(i know that flick will make a mob appear) i need it to appear next to a mob for about 2 secs
|
In response to Nadrew
|
|
thanks, and i havent asked for help in a few days thank you very much, lol. im learnin.
|
In response to Nadrew
|
|
and niether of those tell me what i wanted to know, and i already knew what they do
|
In response to Jotdaniel
|
|
Jotdaniel wrote:
and niether of those tell me what i wanted to know, and i already knew what they do sleep(20)//Causes a 2 second delay on any action called// |
In response to Jotdaniel
|
|
Jotdaniel wrote:
and niether of those tell me what i wanted to know, and i already knew what they do Your right, those dont tell you the code to "make a mob appear for 2 seconds then go away" but those are most likely exactly what you want. If you keep looking for exact code, then you wont ever find what you need, even if its thrown at you. Sleep does what it says, sleeps. Now im not going to tell you how to sleep the proc and then delete the mob after the sleep is over. Alathon |
In response to Nadrew
|
|
im sorry, i wasnt being very specific. all i really need to know is how to make the mob appear one tile over from the player mob.
|
In response to Jotdaniel
|
|
Jotdaniel wrote:
im sorry, i wasnt being very specific. all i really need to know is how to make the mob appear one tile over from the player mob. when making the new mob put usr.x-1 |
In response to Nadrew
|
|
thanks
|
In response to Jotdaniel
|
|
Jotdaniel wrote:
im sorry, i wasnt being very specific. all i really need to know is how to make the mob appear one tile over from the player mob. You might do this by increasing/decreasing the y or x values (Y, + is north, - is south. X, Im not sure which is east and west, try for yourself) Alathon |
In response to Alathon
|
|
ok ill try and be as exact as i can. im making a dbz game(dont even say it), and i dont want the ki blasts to fly towards the mob your trying to hit. i just want it to stay beside the attacker. All i need to know it how to make the ki blast icon appear one square away from the attacker but also in the same direction as the one being attacked.
|
In response to Jotdaniel
|
|
Jotdaniel wrote:
ok ill try and be as exact as i can. im making a dbz game(dont even say it), and i dont want the ki blasts to fly towards the mob your trying to hit. i just want it to stay beside the attacker. All i need to know it how to make the ki blast icon appear one square away from the attacker but also in the same direction as the one being attacked. For this it would be easier to use overlays/underlays |
In response to Nadrew
|
|
yeah but how do i make it one tile away from the mob and in the same direction as whats being attacked?
|
In response to Jotdaniel
|
|
Jotdaniel wrote:
yeah but how do i make it one tile away from the mob and in the same direction as whats being attacked? Make the projectile icon with movement icons in a movie and if you use overlays it will look as the player is holding a projectile in his/her hand and will take much less code ( which is good for your sake ) to do.. |
In response to Nadrew
|
|
can someone please tell me how to make it go the same direction?
|
In response to Jotdaniel
|
|
Jotdaniel wrote:
can someone please tell me how to make it go the same direction? Do you mean straight line missile fires? non homing |
In response to Nadrew
|
|
right, just in the direction that the src was when you started the attack, lot less lag this way
|
In response to Jotdaniel
|
|
Jotdaniel wrote:
right, just in the direction that the src was when you started the attack, lot less lag this way Take a look at the missile proc, and Spuzies S_missile(I think?) Alathon |
look up the sleep proc and spawn proc..