So I am not the best at scripting but I am trying to make something that requires quite a bit of it. My problem I have is rather complicated and might be difficult to understand so if you're really good at scripting and are willing to help please continue down and first read the general idea I have for my map and what scripting I have and have not figured out. Spoiler: Map Description So the idea I have is a survival horror infection gametype set in a maze. The humans only options are to try and survive as long as possible from the 2 infected people that cannot be killed; however, they also have the option to search the maze for 4 different skulls (The reward itself is undecided). The way I want it to work is that when someone finds a skull, they must interact with it first which then makes the skull follow that person only. The person with the skull must then return it back to its rightful altar which is located where the humans initially spawn. Everyone must try and do that for all 4. If the person carrying the skull is killed before returning the skull to the altar, the skull will automatically return back to where it initially was and await another person to try and bring it to the altar. That is the general idea behind it all. Spoiler: Scripting Figured Out The only script I have working is when the person first initially interacts with the skull. The skull follows the player normally. This is how I had it work: The entire map is encompassed by a large boundary that for every 0.50 seconds, moves in and out of the playspace area. This is to simulate a sort of toggle that sends a message every time the boundary returns back into the playspace because of the players inside triggering the message being sent. If my description was bad below is the actual full scripts used. Scripts on Moving Boundary (All options are on for each script) Script 1: Condition - Boundary: Check (Enter, Players, 0.00) Action - Message: Send (Alpha, ACTIVATOR) Script 2*: Condition - Power: Check (Alpha, On) Action - Move: Offset (X[0.00], Y[0.00], Z[20.00], Local: On, Time: 0.10) Objects/Targets - THIS[add] Script 3*: Condition - Power: Check (Alpha, On) Action - Position/Rotation: Reset (Time: 0.10, Position/Orientation: On) Objects - THIS[add] *There is a separate script brain that toggle the Alpha power channel every 0.50 seconds The next script is of the switch that will initiate the skull to follow the player Script for Switch (All options are on) Script 1: Condition - Round:Event (Start) Action - Switch: Interactive (On) Objects - THIS[add] Script 2: Condition - Interacted Action 1 - Message Send: (Zulu, ACTIVATOR) Action 2 - Label: Change (Add, user:alpha) Objects - ACTIVATOR[add] Action 3 - Switch: Interactive (Off) Objects - THIS[add] The last script is of the skull itself which follows the player Script for Skull (Script 1-2 have all options enabled, Scripts 3 has "Always Runs" disabled) Script 1: Condition - Round: Event (Start) Action - Despawn Objects - THIS[add] Script 2: Condition - Message: Received (Zulu) Action - Spawn (Forced) Script 3: Condition - Message: Received (Alpha) Action - Move: Offset (X[0.00], Y[0.00], Z[3.50], Local: On, Time: 1.00) Objects - THIS[add] Targets - Label[add] (user:alpha) So the way it works is that the skull will only follow the person who first interacted with is because they were given the Label(user:alpha) Spoiler: Scripting I Need Help With So as you saw, I don't have a lot of it figured out and I really need help finding a way so that: - The skull will return to its original position in the case that the player bringing it dies before reaching the altar - The skull (once interacted with) can only be returned to its specific altar by the person who interacted with it in the first place (This could be accomplished by having the person interacting with the altar or physically bringing it to the altar which triggers something. I wouldn't know how to do either of those things though) I was also planning on having the skulls location random each round but if that's too difficult with what my idea is, that's totally okay. My priorities are what I listed above. I know I'm asking for a lot and I don't even know if what I'm asking for is possible. But any help would be greatly appreciated. Whether it be scripts to make this a reality or any different suggestions on how I can make this work instead of doing what I laid out, all feedback is welcomed. Thank you!
They can easily be reached on our discord server. There is a link to join on the forums page. Once you're there, you'll find a tab called looking for help, and all you do then is tag them with a descriptive summary of your issue.