Well, Im working on snowing and various holiday things for my roleplaying game. To add to the snow and roleplay feel I want to know how to make footprints if someone is walking on the snow turf, and only the snow turf. Can someone explain? Give me something to work with? Anything!?
Thanks!
ID:162726
Dec 3 2007, 5:37 pm
|
|
Dec 3 2007, 5:41 pm
|
|
Well you could give the turf an Enter() and make it spawn footprints.
|
In response to Unknown Legacy
|
|
I somewhat tried fiddling with that, I was wondering if there was another way.
|
In response to Nightmare3
|
|
I just started coding today so I'm not sure on that one but I'll try and fool around with it.
|
In response to Unknown Legacy
|
|
Alright bro, thanks. I'm looking for another way, if not Ill fiddle with Enter too.
Thanks for your help. |
In response to Nightmare3
|
|
i'm sure theres a better way to do this but if i can be of some help try this.
mob/Player/Move() |
I don't have time to walk you through step by step, however Exited() is the proc you're after. It's called after you've left the atom (which will be our '/turf/snowyground').
Inside of Exited() you'll want to add something that adds an overlay (a picture of footprints) to the src (our snowyground). |
In response to DarkView
|
|
turf Something like that's what you're looking for, but I'd make sure to make the footprints disappear after awhile if I were you, otherwise it'll lag your server. turf |
In response to Uyersuyer
|
|
You're using it wrong. It should be turf/snow/Exited(mob/M). The istype() check is then unneded. Then, you shouldn't use usr, or M, or anything but src. src is the turf, so place a footprint on src.
|