Melee Initialization
Events
Player - Player 1 (Red) types a chat message containing -set cam as A substring
Conditions
(Substring((Entered chat string), 1, 9)) Equal to -set cam
Actions
Camera - Set Player 1 (Red)'s camera Distance to target to (Real((Substring((Entered chat string), 10, (Length of (Entered chat string)))))) over 0.00 seconds
Camera cam
Events
Player - Player 1 (Red) types a chat message containing -cam as An exact match
Conditions
Actions
Camera - Set Player 1 (Red)'s camera Distance to target to 2300.00 over 0.10 seconds
You can't set a camera to a value because...well a camera is a camera and a value is probably an integer.
I don't think that's your question though
Please define "set camera to a value".The distance to the camera's target?If that's the case:
Code:Melee Initialization Events Player - Player 1 (Red) types a chat message containing -set cam as A substring Conditions (Substring((Entered chat string), 1, 9)) Equal to -set cam Actions Camera - Set Player 1 (Red)'s camera Distance to target to (Real((Substring((Entered chat string), 10, (Length of (Entered chat string)))))) over 0.00 seconds
It's under Camera -> Set Camera Field