View previous topic :: View next topic |
Author |
Message |
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
Posted: Mon Jul 28, 2008 2:17 am Post subject: |
|
|
Oh I thought you were complaining that they didn't count (as in, a bug).
They don't count because that's more useful behaviour: you can add other enemies to do fake battle scripting and still use alone attacks/spawning. _________________ "It is so great it is insanely great." |
|
Back to top |
|
 |
MADSOFT Games Representing more than 80% of the internet!

Joined: 06 Nov 2004 Posts: 221 Location: AWESOME land
|
Posted: Mon Jul 28, 2008 5:55 pm Post subject: |
|
|
Ok, so, after testing my game, I realized that everything with this slimeboss battle is going the way I want it, except that the slimes he summons are always at the top part of the battle screen, behind the HP bars...
Is there a way to make them appear other places?
If so, please explain? _________________ http://www.madsoftgames.net/
http://www.madsoftgames.org/
http://www.andrewdavid.net/
Last edited by MADSOFT Games on Thu Aug 21, 2008 5:02 pm; edited 2 times in total |
|
Back to top |
|
 |
LeRoy_Leo Project manager Class S Minstrel

Joined: 24 Sep 2003 Posts: 2683 Location: The dead-center of your brain!
|
Posted: Mon Jul 28, 2008 6:18 pm Post subject: |
|
|
When you place enemies in the battle formation, they appear where you place them. Therefore, what you have to do is place an enemy where you want his slimes to be summoned and then remove the graphic. Hopefully you have a blank enemy graphic to use. _________________ Planning Project Blood Summons, an MMORPG which will incinerate all of the others with it's sheer brilliance...
---msw188 ---
"Seriously James, you keep rolling out the awesome like gingerbread men on a horror-movie assembly line. " |
|
Back to top |
|
 |
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
Posted: Mon Jul 28, 2008 6:28 pm Post subject: |
|
|
A blank enemy graphic isn't needed. You'll want to place slimes in the formation to get their position right and then delete them.
All battle slots have a position on the screen set, whether or not there is an enemy in them - unfortunately they store the upper left corner of the enemy graphics, so spawned enemies of different sizes will appear in different positions on screen when in the same slot! _________________ "It is so great it is insanely great." |
|
Back to top |
|
 |
MADSOFT Games Representing more than 80% of the internet!

Joined: 06 Nov 2004 Posts: 221 Location: AWESOME land
|
|
Back to top |
|
 |
MADSOFT Games Representing more than 80% of the internet!

Joined: 06 Nov 2004 Posts: 221 Location: AWESOME land
|
Posted: Thu Aug 21, 2008 4:53 pm Post subject: |
|
|
Ok, like drizzle's thread, this has been renamed so that I don't have to start a new topic every time I have a script issue.
So, please, tell me what is wrong with this:
Code: | script, gateup, begin
suspend player
suspend hero walls
fade screen out (0,0,0)
wait (1)
put hero (me, ((hero X (me))*20), (((hero Y (me))*20)-2))
set tag ((tag:GATEUP), false)
set tag ((tag:GATEDOWN), true)
wait for hero
fade screen in
resume hero walls
resume player
end |
I want the hero to teleport 2 tiles upwards when he activates this, but It only fades out and then fades back in without having moved him at all.
I thought maybe it's because of the wall in front of him, but I used "suspend hero walls" and it still doesn't work. Help? _________________ http://www.madsoftgames.net/
http://www.madsoftgames.org/
http://www.andrewdavid.net/ |
|
Back to top |
|
 |
msw188
Joined: 02 Jul 2003 Posts: 1041
|
Posted: Thu Aug 21, 2008 9:20 pm Post subject: |
|
|
There are a couple problems here. First of all, to subtract things you need to write THING -- THING (note the two minus signs).
However, the main issue is your placement of the subtraction. The line should look like:
...((heroy(me)--2)*20)
because you want to move up two tiles, not two pixels. Also, there is no need for suspending hero walls, just as you originally thought. _________________ My first completed OHR game, Tales of the New World:
http://castleparadox.com/gamelist-display.php?game=161
This website link is for my funk/rock band, Euphonic Brew:
www.euphonicbrew.com |
|
Back to top |
|
 |
MADSOFT Games Representing more than 80% of the internet!

Joined: 06 Nov 2004 Posts: 221 Location: AWESOME land
|
|
Back to top |
|
 |
|