Jump to content

Confusing CS Script


Angelbroke

Recommended Posts

I started modding about 2 weeks ago and i'm really getting into it :)

However scripting still scares me :S

Can anyone here please quickly type me up a script so that when you click on an unteleported door, it will say "This chamber once held many secrets, however time has eaten and destroyed it.". Thank you ^_^

Link to comment
Share on other sites

I started modding about 2 weeks ago and i'm really getting into it :)

However scripting still scares me :S

Can anyone here please quickly type me up a script so that when you click on an unteleported door, it will say "This chamber once held many secrets, however time has eaten and destroyed it.". Thank you ^_^

You would need to define a unique door within the CS to attach this script to, or else all other doors of this type will have that scripting. It is assumed that you want the door not to open... If this is not the case, replace return with activate

 

scn ANBDoorToNowhereScript004141

begin onactivate;;says when you want this part of the script to work
Message "This chamber once held many secrets, however time has eaten and destroyed it." ::your message
return;;prevents activation
end;;says that this is the end of this part of the script

 

You could use messagebox instead of message to get one of those prompts people have to click through, but some find those annoying.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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