 |
marsonije Newbie
Joined: 28 Feb 2020 Posts: 5
|
Posted: Thu Mar 12, 2020 2:38 pm
Script command or function to delete a room? |
1) Is there such?
I could not find it.
I need to delete some rooms programmatically when initializing a quest, via trigger.
I also need to relink rooms via script but first delete existing links.
2) Is there a way to do it? %roomexit(vnum, "") seems to do nothing, like the empty string is not considered at all
actually it seems that %roomexit is only adding exits, it cannot delete an existing one.
3) I would also need to enable map creation mode from script, that is toggle from follow to creation and back |
|
|
 |
shalimar GURU

Joined: 04 Aug 2002 Posts: 4734 Location: Pensacola, FL, USA
|
Posted: Fri Mar 13, 2020 10:35 pm |
2 and 3, yes, as follows:
#CALL %maplocked(0)
#CALL %roomexit(vnum, "")
#CALL %maplocked(1)
No way to do 1 that I am aware of. |
|
_________________ Discord: Shalimarwildcat |
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|