- How to remove players from the party/add players to the party/add custom players to the party.
This is not a very easy task, it requires a lot of scripting, but you can check from griwidgets how it can be done:
https://github.com/xanathar/grimwidgets
- How to play a sound at a specific place?
Easy one: playSoundAt(sound, level, x, y)
Quick reference of all functions:
https://sites.google.com/site/jkosgrimr ... heat-sheet
- How to make doors that can be broken/can be broken by a specific spell?
One solution could be an invisible receptor that calls a script which destroys the door and replaces it with broken door model.
- How to add an parameter that is then changed and checked by other scripts?
Script variables are read only for other scripts, so you can't set them from another script-entity, here is a workaround
script1
script2
or you can use setter functions
script1
Code: Select all
checkThis = false
function setCheckThis(value)
checkThis = value
end
script2