Page 1 of 1

[HELP] Press button = party shock shield

Posted: Thu Feb 28, 2013 10:08 pm
by DeDy
Hi, please help me.

How to do that, press the button on the wall, produce the spell "shock_shield"?
This spell does not contain Spawner.
Thanks.

Re: [HELP] Press button = party shock shield

Posted: Sun Mar 03, 2013 12:29 am
by DeDy
I solved it this way.

Code: Select all

defineObject{
	name = "orb_frost",
	class = "Item",
	uiName = "Frost Orb",
	model = "assets/models/items/apprentice_orb.fbx",
	description = "This magic balls until he finds a shield against the cold on the whole gang.",
	skill = "spellcraft",
	requiredLevel = 2,
	gfxIndex = 69,
	attackMethod = "castWandSpell",
	spell = "frost_shield",
	wandPower = 1,
	charges = 4,
	emptyItem = "orb_empty",
	weight = 2.9,
}

Code: Select all


defineObject{
	name = "orb_empty",
	class = "Item",
	uiName = "Empty Orb",
	model = "mod_assets/models/items/orb_empty.fbx",
	gfxAtlas = "mod_assets/textures/nightfall_items.tga",
	gfxIndex = 26,
	weight = 2.9,
}

Re: [HELP] Press button = party shock shield

Posted: Sun Mar 03, 2013 3:35 pm
by Komag
But that's not from a button press, so have you abandoned that idea?

Re: [HELP] Press button = party shock shield

Posted: Sun Mar 03, 2013 9:37 pm
by DeDy
No, I didn't know how to do it and hope no one on the Forum. I thought about this and created two new visible secret places. I'm now more satisfied than originally with a button on the wall.