Help with casting a spell to close a pit
Moderator: George Gilbert
Forum rules
Please read the Forum rules and policies before posting.
Please read the Forum rules and policies before posting.
- Chaos-Shaman
- High Lord
- Posts: 2642
- Joined: Wed May 03, 2006 7:26 pm
- Location: The Gates of Hell
Help with casting a spell to close a pit
OK, i finally got around to building my dungeon again.
I've mangaged to make a spell target an action that targets a relay that toggles pits.
Can i make a spell that when targeting the action, that targets a relay,that targets an action, that object toggles the pits?
finally i see some light at the end of the tunnel
I've mangaged to make a spell target an action that targets a relay that toggles pits.
Can i make a spell that when targeting the action, that targets a relay,that targets an action, that object toggles the pits?
finally i see some light at the end of the tunnel
keep your gor coin handy
Please make pit a clone. It is pit that you want to shut.
Spell is made like this.
PIT closes if this magic is used.
However, I think that what you are requesting is not this.
It might be good if it explains a little more in detail.
Spell is made like this.
Code: Select all
ACTION: ACTION_OBJECT_DEACTIVATE
Object 1:PIT CLONE
However, I think that what you are requesting is not this.
It might be good if it explains a little more in detail.
Please forgive poor English.
- Chaos-Shaman
- High Lord
- Posts: 2642
- Joined: Wed May 03, 2006 7:26 pm
- Location: The Gates of Hell
Sorry about the terrible explanation
I want the pit to close without a relay targetting it and only if you're standing in front of the (cloned)pit
I cloned an action that targetted a cloned relay and that worked, but i had to manually target each pit
I am a rooky, so please bare with me guys, i'll get it adventually
I want the pit to close without a relay targetting it and only if you're standing in front of the (cloned)pit
I cloned an action that targetted a cloned relay and that worked, but i had to manually target each pit
I am a rooky, so please bare with me guys, i'll get it adventually
keep your gor coin handy
- Parallax
- DMwiki contributor
- Posts: 424
- Joined: Mon Aug 28, 2006 7:56 pm
- Location: Back in New Jersey
Here's the way I'd do it:
1) Clone a spell bolt and a spell cloud (for instance, the ZO one) Clone bolt becomes clone cloud on impact, no mystery so far.
2) Keep the pit a regular pit and place a trigger on top, activated by the cloned cloud. That trigger deactivates the pit. This is basically what is done in DMII to close the ZO portals through which enemy attack minions come.
The advantage of this method is that anywhere you want an activable pit you can place one without fear that one instance of the spell will trigger something you don't want triggered etc... It basically places the burden of reacting to the spell on the pit, instead of putting it on the spell. As much as possible that's what you want to do to avoid unwanted side effects (place the burden of detecting the effect on the target instead of the source, I mean.)
1) Clone a spell bolt and a spell cloud (for instance, the ZO one) Clone bolt becomes clone cloud on impact, no mystery so far.
2) Keep the pit a regular pit and place a trigger on top, activated by the cloned cloud. That trigger deactivates the pit. This is basically what is done in DMII to close the ZO portals through which enemy attack minions come.
The advantage of this method is that anywhere you want an activable pit you can place one without fear that one instance of the spell will trigger something you don't want triggered etc... It basically places the burden of reacting to the spell on the pit, instead of putting it on the spell. As much as possible that's what you want to do to avoid unwanted side effects (place the burden of detecting the effect on the target instead of the source, I mean.)
- Chaos-Shaman
- High Lord
- Posts: 2642
- Joined: Wed May 03, 2006 7:26 pm
- Location: The Gates of Hell
- Chaos-Shaman
- High Lord
- Posts: 2642
- Joined: Wed May 03, 2006 7:26 pm
- Location: The Gates of Hell
A spell can create any object, not just those objects designated spells (so you can create a spell that throws a dagger or simply creates a cloud)
If you cloned a spell missile, i htink one of the menus tabs has a lifetime object, and then you assign it a cloud explosion for its convery to when expiring
Sorry, rushing off to work or else I would check RTC for you now - will perhaps get a chance this evening if you are still stuck!
If you cloned a spell missile, i htink one of the menus tabs has a lifetime object, and then you assign it a cloud explosion for its convery to when expiring
Sorry, rushing off to work or else I would check RTC for you now - will perhaps get a chance this evening if you are still stuck!
- Parallax
- DMwiki contributor
- Posts: 424
- Joined: Mon Aug 28, 2006 7:56 pm
- Location: Back in New Jersey
I believe the action is CREATE_IN_FRONT which would create your cloned cloud. This makes the cloud directly in front of the party. You can of course make the cloud invisible by replacing all its views with a 1X1 power pink bitmap. And then ta-daa, you've got a pit-closing spell. Actually, what you have is much more versatile than that, but it will work as a pit-closing spell.
If you needed it a missile then you can, as I said, create a missile from anything (not spell) and alter the effects and look accordingly
You can assign it a lifetime in the 'other' menu tab (top left area), then assign the effect in the convert menu, the 'expire' tab. That will give you the ability to assign an spell cloud expiration and an action on expiration.
The spell can then create this object in the air. A quick test did show that there seemed to be a 50% chance the spell would be able to carry on one square further than it was meant.
You can assign it a lifetime in the 'other' menu tab (top left area), then assign the effect in the convert menu, the 'expire' tab. That will give you the ability to assign an spell cloud expiration and an action on expiration.
The spell can then create this object in the air. A quick test did show that there seemed to be a 50% chance the spell would be able to carry on one square further than it was meant.
- Chaos-Shaman
- High Lord
- Posts: 2642
- Joined: Wed May 03, 2006 7:26 pm
- Location: The Gates of Hell
- Chaos-Shaman
- High Lord
- Posts: 2642
- Joined: Wed May 03, 2006 7:26 pm
- Location: The Gates of Hell
- Chaos-Shaman
- High Lord
- Posts: 2642
- Joined: Wed May 03, 2006 7:26 pm
- Location: The Gates of Hell
- Chaos-Shaman
- High Lord
- Posts: 2642
- Joined: Wed May 03, 2006 7:26 pm
- Location: The Gates of Hell
I'm sorry. I was not testing the method of writing ahead by myself.
It was necessary to write it first.
You will use expiring missile that beowuuf proposes.
The item with lifetime of one is made.
The cloud is chosen to be new object of expire.
Action of spell is made CREATE_NEW_IN_AIR. And, item made from object is chosen.
The cloud appears forward of the party if this spell is used.
Because I also am using it, this method is safe.
Moreover, I recommend the item to be set so as not to do working that the item is unnecessary. (sees, sounded, monster is damaged, Acquisition of ninja experience, Stamina is consumed)
dungeon graphic and sound are made null. and Attack(%) and weight are adjusted to 0.
It was necessary to write it first.
You will use expiring missile that beowuuf proposes.
The item with lifetime of one is made.
The cloud is chosen to be new object of expire.
Action of spell is made CREATE_NEW_IN_AIR. And, item made from object is chosen.
The cloud appears forward of the party if this spell is used.
Because I also am using it, this method is safe.
Moreover, I recommend the item to be set so as not to do working that the item is unnecessary. (sees, sounded, monster is damaged, Acquisition of ninja experience, Stamina is consumed)
dungeon graphic and sound are made null. and Attack(%) and weight are adjusted to 0.
Please forgive poor English.