int bInit
int bSpawn
ref rEnemy01
ref rEnemy02
Begin OnLoad
if (bInit == 0)
set bSpawn to 1
set bInit to 1
endif
End
Begin GameMode
if (bSpawn == 1)
set rEnemy01 to VXPowderGangerSpawnREF.PlaceAtMe NCRCFPowderGangerGunAAM3 1
set rEnemy02 to VXPowderGangerSpawnREF.PlaceAtMe NCRCFPowderGangerGunAAM3 1
set bSpawn to 0
elseif (rEnemy01.GetDead && rEnemy02.GetDead)
set bSpawn to 1
endif
End
======================================
Anyone see what's wrong here? I'm trying to get this to work on an xmarkerheading, named (ref editor ID) VXPowderGangerSpawnREF, this is going to eventually have a timer etc, however, I can't even get this to compile so why bother with the rest of the code.
The script validator says its alright... NV Powerup doesn't work for me.
I've asked like three people on the NVNexus forums about this, noone knows whats wrong here. If you figure it out, I'll give you credit in my mod.
thanks
Soaren