GoranGaming
Member
Posts: 183
Threads: 30
Joined: Feb 2012
Reputation:
7
|
RE: "if" script doesn't work
Or:
void monsterbreakdoor(string &in asTimer)
{
if(GetSwingDoorClosed("cellar_wood01_5") == true){
CreateParticleSystemAtEntity("", "ps_hit_wood.ps", "ScriptArea_53", false);
SetEntityActive("servant_grunt_3", true);
SetEntityActive("cellar_wood01_broken_2", true);
SetEntityActive("cellar_wood01_5", false);
PlaySoundAtEntity("", "break_wood.snt.snt", "ScriptArea_53", 0, false);
CreateParticleSystemAtEntity("", "ps_dust_impact.ps", "ScriptArea_53", false);
ShowEnemyPlayerPosition("servant_grunt_3");
}else if(GetSwingDoorClosed("cellar_wood01_5") == false){
SetEntityActive("ScriptArea_54", true);
}
}
Current projects:
The Dark Prison 85 % (Stopped working on this one)
Unnamed Project 7 %
(This post was last modified: 08-16-2012, 06:00 PM by GoranGaming.)
|
|
08-16-2012, 05:59 PM |
|