Author Topic: Another request for help on possibly a rather simple script....  (Read 429 times)

Legacy_Who said that I

  • Hero Member
  • *****
  • Posts: 931
  • Karma: +0/-0


               

Okay I want to make a trigger script that will make the area within the trigger will be regarded as a PVP zone. 


 


Why do you ask?


 


Well it is basically for my heavily modified script of PK's dueling system but the arena itself is in an open air, no pvp area. 


 


And honestly not really sure how to start with a trigger script (due to my novice level) I wondered if anyone here could help me with it?



               
               

               
            

Legacy_Terrorble

  • Sr. Member
  • ****
  • Posts: 370
  • Karma: +0/-0
Another request for help on possibly a rather simple script....
« Reply #1 on: April 13, 2015, 02:42:10 am »


               

I'm not sure how to make the area within the trigger PvP only.


 


There are things you can do to deter players watching the fight from being able to interfere or fight amongst themselves:  


applying 100% spell failure


unsummoning everything


add perma true seeing for easy viewing of the fight


setting all players friendly to one another


have the area heartbeat check and cancel any actions from any players not flagged as being in the arena


etc


 


These could be done OnAreaEnter and removed when leaving or when entering the PvP section of the arena.  I've not done this myself and do not know if that would adequately cover everything.



               
               

               
            

Legacy_Nic Mercy

  • Full Member
  • ***
  • Posts: 154
  • Karma: +0/-0
Another request for help on possibly a rather simple script....
« Reply #2 on: April 13, 2015, 07:01:00 pm »


               

In my mod we have an area where the entire area is flagged for pvp but depending on which entrance you enter from you're either in the arena itself of in the stands.


 


People in the stands could still interfere with very long ranged attacks I suppose but the design of the area makes even that difficult unless combatants get very close. The area is designed with raised areas for the stands and there's a few obstructions in the arena itself.


It's not really a scripting solution but I am not really proficient in scripting (as evident by my many posts for help he he)


 


Area design is a possible alternative idea though. There may even be invisible placeables you can use which mechanically obstruct line of sight but are otherwise unseen by players thus those outside the pvp section could observe but not interfere (though they'd be able to beat each other up I suppose).


 


If possible to script the things Terrorble suggested that might give you something closer to what you want though.