Func invisible user teamspecific


(Teuthis) #1

I have a script mover in my New Map (a rotatable Artillery Gun). The Gun can Nicely be constructed/decunstructed but the Rotation and finally also the firing is controlled by two func invisible Users. Problem now is that they can technically be Operated from both Allies and axis. Any chance we can make them teamspecific?

I can make them cubstructable too but when constructed Even then both Parties Could push the Buttons…


(Mateos) #2

Trigger them through a trigger_multiple which can be team/class specific, see Venice (open the script with the BSP extracted in the same folder with ETScript to have tooltips with entity information)


(Teuthis) #3

thanks Mateos. wasn’t even necessary. a func_invisible used can have the key ‘allowteams’ with the entry ‘Allies’ or ‘Axis’.

this not only was the last Piece missing for my prefab of the gun, it means also that with this we can make teamspecific Buttons in the future. so no Need for an ugly teamdoor to give Access to the button :slight_smile: