[ZS] Changing sector texture with ZScript

Not exactly sure if this should go here or mapping, since it's combined.
I am trying to create an object, that upon activation, changes the height of a sector and turns the sector's floor texture to something different, while also changing data of other objects. While i was able to get nearly everything done, I have no clue how to change the floor texture. Another problem is, i need to provide the texture as a property inside that object (probably a string variable, so i would probably need to use texture manager for that).
I am trying to create an object, that upon activation, changes the height of a sector and turns the sector's floor texture to something different, while also changing data of other objects. While i was able to get nearly everything done, I have no clue how to change the floor texture. Another problem is, i need to provide the texture as a property inside that object (probably a string variable, so i would probably need to use texture manager for that).