Why does this not work? Simple Text
#7

Ok I think everyone is thinking well outside of the box or maybe I'm just not seeing it lol.

Here's what I'm trying to do.

A player types /furniture and it brings up a menu of furniture to choose from

When a player clicks on an item it will create the item setting a few things as follows for example

ObjectInfo[i][oX] = 0.0;
ObjectInfo[i][oY] = 0.0;
ObjectInfo[i][oZ] = 0.0;
ObjectInfo[i][oChair] = 1;
ObjectInfo[i][oName] = chair_01;

chair_01 is simply just text that I have written. It is not gathered from any where else. I am just simply setting the name to chair_01.

The reason for this is the player can then use /furniedit which brings up a menu of all the furniture in their house.

The check is done for(new object = 0; object < sizeof(ObjectInfo) object++)
This shows Object ID &d (54) Name %s (chair_01) (the number which is "object" and the name which is now a string ObjectInfo[object][Name])

Are you guys following me? I'm not trying to for example do this

/setname "id" "namehere"

new id = first bit of text

new name = second bit of text
Reply


Messages In This Thread
Why does this not work? Simple Text - by Phil_Cutcliffe - 20.02.2014, 18:58
Re: Why does this not work? Simple Text - by Konstantinos - 20.02.2014, 19:02
Re: Why does this not work? Simple Text - by MattTucker - 20.02.2014, 19:15
Re: Why does this not work? Simple Text - by Phil_Cutcliffe - 20.02.2014, 19:22
Re: Why does this not work? Simple Text - by Konstantinos - 20.02.2014, 19:27
Re: Why does this not work? Simple Text - by Vince - 20.02.2014, 19:36
Re: Why does this not work? Simple Text - by Phil_Cutcliffe - 20.02.2014, 20:02
Re: Why does this not work? Simple Text - by Phil_Cutcliffe - 21.02.2014, 16:07

Forum Jump:


Users browsing this thread: 2 Guest(s)