I just want to know if its possible to read/copy the outputs from an entity or at least read the .ent file theres in the map (.bsp) file, an example would be good
This is from cp_dustbowl's .ent file
Code:
{
"model" "*20"
"team_numcap_3" "1"
"team_numcap_2" "1"
"team_cancap_3" "1"
"team_cancap_2" "0"
"StartDisabled" "0"
"area_time_to_cap" "3"
"area_cap_point" "cap_red_2"
"classname" "trigger_capture_area"
"hammerid" "4211432"
"OnCapTeam2" "start_timer,AddTime,270,0.01,-1"
"OnCapTeam2" "cap1_stairs,Disable,,15,-1"
"OnCapTeam2" "cap1_fence_brush,Enable,,15,-1"
"OnCapTeam2" "cap1_fence,EnableCollision,,15.1,-1"
"OnCapTeam2" "cap1_fence,Enable,,15,-1"
"OnCapTeam2" "gate_2nd_spawn,Disable,,15,-1"
"OnCapTeam2" "sign_cap_2,Skin,2,0,-1"
"OnCapTeam2" "sign_resupply_1,Skin,4,0,-1"
"OnCapTeam2" "cap_2,Skin,2,0,-1"
"OnCapTeam2" "sign_blue_round1,TurnOff,,0,-1"
"OnCapTeam2" "cap2_signs,TurnOn,,15,-1"
"OnCapTeam2" "cap2_signs,EnableCollision,,15,-1"
"OnCapTeam2" "area2_camera,Enable,,15,-1"
"OnCapTeam2" "cap1_fence_block,TurnOff,,15,-1"
}
And i would like to copy the "OnCapTeam2" to E.G. OnUser2, else i would probably have to add some of keyvalue system to get multistage maps working with Bomb Fortress