Jump to content

[GECK] Terminal Help [GECK]


Biscuit456

Recommended Posts

Hiya! I am trying to use geck to make a little house thing that you can upgrade. I want to use the terminal to where you can buy stuff and it automatically changes.

 

Say you want to upgrade your house. You go to the terminal and you buy the upgrade and it will automatically do it. How would I do this?

Link to comment
Share on other sites

A simple way would be to put the items you want into the room flagged as persistent and initially disabled, and give them names like 'MyCauldronREF'. Then create a script with:

 

Begin OnAdd

MyCauldronREF.Enable

MyBroomStickREF.Enable

End

 

Create a new misc item with that script attached and give it to your seller.

Link to comment
Share on other sites

If you want to actually do it from a terminal it's the same basic idea as what Hemingway308 posted. You create the items and give them a unique reference. You also need to check the persistent reference in the item properties (same general area where you check the initially disabled box).

 

Then for your terminal entry, you do the script functions:

 

MyCauldronREF.enable

MyBroomstickREF.enable

 

You can also add lights, again with a unique REF name, initially disabled, persistent reference, etc. Then you can have the terminal control the lights by having an entry for "turn on lights" that just does MyLightREF.enable and "turn off lights" with MyLightREF.disable. Or you can add an OnActivate script to a light switch.

 

If you have clutter (trash) that you want to "clean up" via the terminal it's the same basic idea, except that the items are enabled initially and you use MyTrashItemREF.disable to get rid of it via the terminal entry.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...