soaren Posted November 24, 2010 Share Posted November 24, 2010 I'm trying to get waves of enemies working however, I can't even get a few to spawn without any conditions (so why bother with the timer until I figure this out): ;Spawns Powder Gangers scn VXPowderGangerSpawnScript begin gamemode VXPowderGangerSpawn.placeatme NCRCFPowderGangerGunAAM3 1 VXPowderGangerSpawn.placeatme NCRCFPowderGangerGunAAM3 1 VXPowderGangerSpawn.placeatme NCRCFPowderGangerGunAAM3 1 VXPowderGangerSpawn.placeatme NCRCFPowderGangerGunAAM3 1 end VXPowderGangerSpawn is an xmarkerheading's reference editor ID (the nickname you can give to it). This xmarkerheading has persistent reference checked. This is where I want the powder gangers to spawn.NCRCFPowderGangerGunAAM3 is a powder ganger (not a spawnmarker, and actual NPC) that was in vanilla new vegas. I have not edited it at all. Whenever I teleport to this test room I have the marker in "using coc X in console" the guys don't appear. I was in the chat room, and noone there could assist me. This has been an all-nighter lol. Anyone see what I'm doing wrong? Thanks soaren Link to comment Share on other sites More sharing options...
thc1234 Posted November 24, 2010 Share Posted November 24, 2010 it should work. try one placeatme per frame.is Your script actually running ?... use showmessage to ensure. Link to comment Share on other sites More sharing options...
thc1234 Posted November 24, 2010 Share Posted November 24, 2010 (edited) Also Your game would crash soon with that script... 60 FPS x 4 per second powder gangers... Just for frack sake I tried it from quest script and it works - which means Your script is most likely not running. Edited November 24, 2010 by thc1234 Link to comment Share on other sites More sharing options...
Ez0n3 Posted November 24, 2010 Share Posted November 24, 2010 scn VXPowderGangerSpawnScript int bInit int bSpawn ref rEnemy01 ref rEnemy02 ref rEnemy03 ref rEnemy04 Begin OnLoad if (bInit == 0) set bSpawn to 1 set bInit to 1 endif End Begin GameMode if (bSpawn) set rEnemy01 to VXPowderGangerSpawn.PlaceAtMe NCRCFPowderGangerGunAAM3 1 set rEnemy02 to VXPowderGangerSpawn.PlaceAtMe NCRCFPowderGangerGunAAM3 1 set rEnemy03 to VXPowderGangerSpawn.PlaceAtMe NCRCFPowderGangerGunAAM3 1 set rEnemy04 to VXPowderGangerSpawn.PlaceAtMe NCRCFPowderGangerGunAAM3 1 set bSpawn to 0 else if (rEnemy01.GetDead && rEnemy02.GetDead && rEnemy03.GetDead && rEnemy04.GetDead) set bSpawn to 1 endif endif End Link to comment Share on other sites More sharing options...
soaren Posted November 25, 2010 Author Share Posted November 25, 2010 scn VXPowderGangerSpawnScript int bInit int bSpawn ref rEnemy01 ref rEnemy02 ref rEnemy03 ref rEnemy04 Begin OnLoad if (bInit == 0) set bSpawn to 1 set bInit to 1 endif End Begin GameMode if (bSpawn) set rEnemy01 to VXPowderGangerSpawn.PlaceAtMe NCRCFPowderGangerGunAAM3 1 set rEnemy02 to VXPowderGangerSpawn.PlaceAtMe NCRCFPowderGangerGunAAM3 1 set rEnemy03 to VXPowderGangerSpawn.PlaceAtMe NCRCFPowderGangerGunAAM3 1 set rEnemy04 to VXPowderGangerSpawn.PlaceAtMe NCRCFPowderGangerGunAAM3 1 set bSpawn to 0 else if (rEnemy01.GetDead && rEnemy02.GetDead && rEnemy03.GetDead && rEnemy04.GetDead) set bSpawn to 1 endif endif End I may just be totally in love with you. I'll test it out tommorrow. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts