Code: Select all
Execution could not continue.
Script error, "Hellspawn v1.x.wad:DECORATE" line 58:
Expected ')', got '=='.
My code
Code: Select all
actor MinionRevenant : Revenant replaces Revenant
{
DropItem "RocketAmmo"
States
{
Death:
SKEL LM 7
SKEL N 7 A_Scream
SKEL N 0
{
if (GetCVAR(hs_hierarchy == 1)) { //LINE 58 IS HEAR \o/
A_SpawnItemEx("ChaingunGuySpawner",0,0,0,0,0,0);
} if (GetCVAR(hs_hierarchy == 2)) {
A_SpawnItemEx("ShotgunGuySpawner",0,0,0,0,0,0);
}
}
SKEL O 7 A_NoBlocking
SKEL P 7
SKEL Q -1
Stop
}
}
Some1 can help me?
Thanks in advance