The Doomist Posted April 15, 2013 ZDoom tells me that on Line 3 "{" is expected instead of Actor, but the tutorial for weps on the ZDoom wiki shows it like that. What's wrong? Is it the layout of my file? DoubleShotgun //Self Explanitory Actor DoubleShotgun : Shotgun 20024 { Weapon.SelectionOrder 350 Inventory.PickupSound "sound/dsgpicku" Weapon.AmmoGive 6 Weapon.AmmoUse 2 Weapon.SlotNumber 3 AttackSound "sound/dsgfire" States { Spawn: DSHG A -1 Loop Ready: DSHG A 1 A_WeaponReady Loop Deselect: DSHG A 1 A_Lower Loop Select: DSHG A 1 A_Raise Loop Fire: DSHG A 3 DSHG A 0 A_FireBullets (13.4, 9.2, 50, 10, "BulletPuff") DSHG A 0 A_FireShotgun DSHG A 7 DSHG B 7 DSHG C 7 DSHG D 7 DSHG E 7 A_ReFire Goto Ready Flash: DSHG A 4 Bright A_Light1 DSHG B 3 Bright A_Light2 Goto LightDone Spawn: SDSG A -1 Stop } } 0 Share this post Link to post
Gez Posted April 16, 2013 The Doomist said:ZDoom tells me that on Line 3 "{" is expected instead of Actor, but the tutorial for weps on the ZDoom wiki shows it like that. What's wrong? Is it the layout of my file? DoubleShotgun //Self Explanitory Here's your problem.// DoubleShotgun Self ExplanatoryFixed. 0 Share this post Link to post
The Doomist Posted April 17, 2013 Thanks. Didn't know I had to comment out the actor name. 0 Share this post Link to post
Krispy Posted April 17, 2013 The name you put there was unnecessary. You put the name right next to the word "actor." 0 Share this post Link to post