![]() |
elementals - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: elementals (/Thread-elementals) |
elementals - mrkarlo - 02-03-2013 07:06 AM hey people! i have a problem. i cant mine elementals: Code: [REGIONRESOURCE mr_iron] // default mining result. tell me please, why? RE: elementals - Crusader - 02-03-2013 07:13 AM the server creates the elemental, but u don't have the coordinates where to put it. so u have to add new.p = <p> or act.p, or whatever is the right p ![]() RE: elementals - mrkarlo - 02-03-2013 07:29 AM yee thanks man, new.home <new.p> else, how can i make that he got out from earth more slowly? its possible? RE: elementals - Mordaunt - 02-03-2013 07:31 AM Hmm... Looks like part of my mining. I'll take a look, it used to work, was under the impression it still did. Doesn't need <p> it fires under @resourcefound at which point a world gem but is placed and that is the <p> Code: [REGIONRESOURCE mr_iron] // default mining result. works fine and will dig up an earth ele every time. As for speeding up or slowing down the animation of him climbing out, I an not sure it can be done. RE: elementals - mrkarlo - 02-03-2013 07:49 AM yes sir its yours. maybe its possible to to make that elemental grow up from earth more slowly? i dont mean rand! RE: elementals - Mordaunt - 02-03-2013 07:49 AM Yes I know what you mean, I'm not sure the animation effect can be slowed though. RE: elementals - Crusader - 02-03-2013 07:52 AM well...it depends on what u want..... if u want a certain delay between the found ore and the summoning of the elemental, instead of doing directly under @resourcefound the things, u could use a TIMERF function, so u can give the delay. Or, always with timerf, u can spawn the elemental "UNDER" the ground, and make it slowely rise duging up it time to time, dunno if u get it. These are the only things that comes up in my mind as a workround for ur anim. RE: elementals - arka - 02-03-2013 01:19 PM something old i found in my scripts, u could rewrite it for your elemental and raise it out of the ground Code: [function f_raise] RE: elementals - mrkarlo - 02-03-2013 06:47 PM wow, that would be great! RE: elementals - mrkarlo - 02-09-2013 11:40 PM people tell me, how to bind this func to on=@resourcefound? call f_raise ? howw? |