Ulysses

General => Off-Topic => Topic started by: ect0 on September 05, 2016, 11:44:08 AM

Title: Excl's Jailbreak Commands?
Post by: ect0 on September 05, 2016, 11:44:08 AM
Are there any commands? All i need is !teleportwarden (teleports all guards to warden) and !opencells (doesnt need explaining)

and also how do i make it so you cant close the cell doors after they have been opened?
Title: Re: Excl's Jailbreak Commands?
Post by: Caustic Soda-Senpai on September 05, 2016, 03:11:37 PM
a !teleportwarden wouldn't be difficult, you'd just need to get the warden's position once it's executed and teleport every player that is on the TEAM_GUARD (or whatever it is) to that position.

I don't think an !opencells command would work simply because the MAPS are what opens the cells, not the game mode. Adding on, you can't really prevent the doors being closed since yet again, it's map controlled.
Title: Re: Excl's Jailbreak Commands?
Post by: roastchicken on September 06, 2016, 11:27:04 AM
Doors definitely can be controlled by Lua. However you would have to isolate the cell doors specifically, either through map creation ID or some other method. Preventing the doors from closing on the other hand, I'm not so sure about. I don't think there's any way to detect doors closing strictly from Lua.
Title: Re: Excl's Jailbreak Commands?
Post by: Caustic Soda-Senpai on September 06, 2016, 08:24:25 PM
However you would have to isolate the cell doors specifically, either through map creation ID or some other method.

That being said....have fun with it..