Lemodile Posted September 3, 2015 Share Posted September 3, 2015 I guess it is a very basic question, but with my knowledge also being very basic and the wiki's info on applying scenarios being even more basic, I resort to asking for your help. What I have been trying to figure out, is how to apply a scenario to an object on a server. For example, how would I go about turning a random chest into a winter chest. Ultimately I'd like to build some sort of spawn area but let's stick to something more basic for now. What I've managed to do so far:- I can succesfully spawn a chest (gj me).- I have been able to find several already existing scenarios, including one for a winter chest (called chest_winter.lua)- From a wiki page I've learned that to run a scenario, I should use a console command called c_doscenario(scenario), where I replace scenario with the actual scenario. To me that seems like sufficient info but for some reason I cannot pull it off. The command registers, but the file can't be found. Any tips or help would be greatly appreciated, though I realize I'm probably missing some fundamental knowledge on how to do anything beyond just playing the game. Link to comment Share on other sites More sharing options...
DarkXero Posted September 4, 2015 Share Posted September 4, 2015 @Lemodile, use this linec_select(c_find("treasurechest")) c_doscenario("chest_winter")standing near the chest. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now