[RESOLVED] quick rgss or event question?

Started by nathmatt, March 19, 2008, 03:38:10 pm

Previous topic - Next topic

nathmatt

even tho i really wouldn't need that could be done with conditon branch and events mainly haveing trouble with the name thing and the enemy running at me when i get in a certain range to teleport me
Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script


Blizzard

Wouldn't it be a better idea to use normal events for the running events instead of enemies?
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

nathmatt

Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script


Blizzard

Simply use event that move toward the player if the player is within range. You can store the x and y coordinates into variables and compare them.
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

nathmatt

March 27, 2008, 02:32:49 pm #24 Last Edit: March 27, 2008, 02:39:49 pm by nathmatt
k ill try that

k how do i compare them
Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script


Blizzard

You can use the "Operate variable" command to store values into variables. Simply compare their difference with some values that you need. Use conditional branches.
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Fantasist

Do you like ambient/electronic music? Then you should promote a talented artist! Help out here. (I'm serious. Just listen to his work at least!)


The best of freeware reviews: Gizmo's Freeware Reviews