Posts: 193
Threads: 62
Joined: Aug 2012
Reputation:
0
Alright so I've recently scripted in Dynamic Businesses system anyways I tried deleting the old dynamic doors for the old shops but now they've turned invisible and you cannot delete them, any ideas?
I'm uploading a video to post, in-case you don't understand it.
Posts: 578
Threads: 56
Joined: Sep 2013
Reputation:
0
Did you remove them at CreateObject or CreateDynamicObject under OnGameModeInit ?
Also be sure to remove any kind of entrence points like inder IsPlayerInRangeOfPoint or other places.
good luck.
Posts: 185
Threads: 23
Joined: Jan 2013
Reputation:
0
Didn't under anything about the video, uhm. Explain at what second what happens?-.
Excuse me if I can't spot INVISIBLE doors.
Posts: 578
Threads: 56
Joined: Sep 2013
Reputation:
0
Yeah go in your gamemode and look up the coords of that position and delete the entrence at IsPlayerInRangeOfPoint
also if u mean the door that u see there thats default object by san andreas it self ;s
Posts: 86
Threads: 9
Joined: Mar 2012
Reputation:
0
After you use /deletebiz, make sure you save all the business files. I think that you are just destroying just the pickup without reseting the information for the certain business. We can help you more if you show us the code ?
Posts: 185
Threads: 23
Joined: Jan 2013
Reputation:
0
...
Well, let's agree that its a dynamic business, not a dynamic door.
Door, by its default translation. "A door, object. Something you interact with thats square with a handle (?)"
The pickup is a dynamic pickup /BUT/ its completly not a door, you can reference it as a 'business'.
Anyway, lets move on.
Could you please share the /deletebusiness [id] command?
I have a feeling you are not reseting the vars that hold the whole business information.
(Ex => BusinessInfo[bizID][bizTypeVar];)
You are reseting the pickup model and the 3DText, I see that.
Tho, we can't see if you are reseting the vars.
--> Again, post up your delete business command.