SetGameOption Question

Started by Joseph DiPerla, Sun 23/11/2003 04:29:25

Previous topic - Next topic

Joseph DiPerla

Is there anyway of using this to unhide a player character in a room?

I created a character where I need him not to appear in the room, but then when he goes back to the room the next time, I need him to appear.

Is there in way of doing it with this function or any work around?

JD
Joseph DiPerla--- http://www.adventurestockpile.com
Play my Star Wars MMORPG: http://sw-bfs.com
See my Fiverr page for translation and other services: https://www.fiverr.com/josephdiperla
Google Plus Adventure Community: https://plus.google.com/communities/116504865864458899575

MrColossal

i don't quite know what you mean

why don't you just set the the character's room number to -1 and then set it to the room's number when you need him to appear?

character[NAME].room = -1;
"This must be a good time to live in, since Eric bothers to stay here at all"-CJ also: ACHTUNG FRANZ!

Ben

So, have you tried SetGameOption?

Ishmael

One way of hiding the player character in a non-scrolling room is to set his cordinates outside of the screen

character[EGO].x = 400;
character[EGO].y = 460;

in 320x240 res for ex.
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Joseph DiPerla

#4
Yes, I have tried set Game Option.


TK, thats it!!! I wish I would have thought of that.

See, I was putting the character in room -1, but what would happen was the briefly when the room loaded, the character would quickly appear and disappear.

That worked great TK, thanks again. Sorry if this question seemed a bit stupid btw.

JD

EDIT: Regarding the SetGameOption, I was meaning that is there a way to Set the option to unhide the player character in the room. I searched the list to find if it was there or not, but I didn't find it. But TK's workaround works for me.
Joseph DiPerla--- http://www.adventurestockpile.com
Play my Star Wars MMORPG: http://sw-bfs.com
See my Fiverr page for translation and other services: https://www.fiverr.com/josephdiperla
Google Plus Adventure Community: https://plus.google.com/communities/116504865864458899575

SMF spam blocked by CleanTalk