Scripting problem
Moderator: Moderators
Scripting problem
I followed the very vague tutorial and heres what ive got
the end is for a multiple trigger activating hurt and sound
let me know whats wrong console says it fails to load telling me to add a line - cacheing of american_army.tif or something to that affect
rez3
rez
rez
main:
setcvar "g_obj_alliedtext1" ""
setcvar "g_obj_alliedtext2" ""
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" ""
setcvar "g_obj_axistext2" ""
setcvar "g_obj_axistext3" ""
setcvar "g_scoreboardpic" "none"
level waittill prespawn
exec global/DMprecache.scr
exec global/ambient.scr rez3
level.script = "maps/dm/rez3.scr"
level waittill spawn
shock_setup:
$shocktrigger volumedamage 25
$shocktrigger playsound elec
end
the end is for a multiple trigger activating hurt and sound
let me know whats wrong console says it fails to load telling me to add a line - cacheing of american_army.tif or something to that affect
rez3
rez
rez
main:
setcvar "g_obj_alliedtext1" ""
setcvar "g_obj_alliedtext2" ""
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" ""
setcvar "g_obj_axistext2" ""
setcvar "g_obj_axistext3" ""
setcvar "g_scoreboardpic" "none"
level waittill prespawn
exec global/DMprecache.scr
exec global/ambient.scr rez3
level.script = "maps/dm/rez3.scr"
level waittill spawn
shock_setup:
$shocktrigger volumedamage 25
$shocktrigger playsound elec
end
-
[60th]Capt.Legolas
- Lance Corporal
- Posts: 19
- Joined: Sat Mar 08, 2003 7:24 pm
- Location: SC, USA
- Contact:
Re: Scripting problem
well make sure you have // in front of these lines:rezner wrote:
rez3
rez
rez
//rez3
//rez
//rez
"He stands not alone," said Legolas, bending his bow and fitting an arrow with his
hands that moved quicker than sight. "You would die before the stroke fell."
Skinner
Modder
Tactical Player
and last but not least.....
the semi-n00b mapper
hands that moved quicker than sight. "You would die before the stroke fell."
Skinner
Modder
Tactical Player
and last but not least.....
the semi-n00b mapper
-
[60th]Capt.Legolas
- Lance Corporal
- Posts: 19
- Joined: Sat Mar 08, 2003 7:24 pm
- Location: SC, USA
- Contact:
Well those three lines are for reference only, meaning are just to help us humans out, and so you put // in front so your machine looks over them as just comments
"He stands not alone," said Legolas, bending his bow and fitting an arrow with his
hands that moved quicker than sight. "You would die before the stroke fell."
Skinner
Modder
Tactical Player
and last but not least.....
the semi-n00b mapper
hands that moved quicker than sight. "You would die before the stroke fell."
Skinner
Modder
Tactical Player
and last but not least.....
the semi-n00b mapper
-
[60th]Capt.Legolas
- Lance Corporal
- Posts: 19
- Joined: Sat Mar 08, 2003 7:24 pm
- Location: SC, USA
- Contact:
try what i said, if that doesnt work you'll need one of the .map guys or mpowell to give you some expert advice
"He stands not alone," said Legolas, bending his bow and fitting an arrow with his
hands that moved quicker than sight. "You would die before the stroke fell."
Skinner
Modder
Tactical Player
and last but not least.....
the semi-n00b mapper
hands that moved quicker than sight. "You would die before the stroke fell."
Skinner
Modder
Tactical Player
and last but not least.....
the semi-n00b mapper
