View Single Post
zarlor
Senior Member
 
Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,819

Old March 28th, 2018, 05:24 AM
Ok, thanks. I've updated the sheets with that. I also changed the line for:
Code:
~hide and show appropriate portals for creatures and non-creatures
if (hero.tagis[Hero.Creature] = 0) then
   portal[zCreature].visible = 0
else
   portal[zEdge].visible = 0
   portal[zAbility].visible = 0
endif
to include zAbility in the first part as well, since Creatures can have abilities too, after all, as CC pointed out (in fact it's the preferred method for Creatures whereas Properties should be used for Characters).

So that now looks like:
Code:
~hide and show appropriate portals for creatures and non-creatures
if (hero.tagis[Hero.Creature] = 0) then
   portal[zCreature].visible = 0
   portal[zAbility].visible = 0
else
   portal[zEdge].visible = 0
   portal[zAbility].visible = 0
endif

Lenny Zimmermann
Metairie, LA, USA

Data files authored (please let me know if you see any issues with any of these if you have/use them):
Official (In the downloader)
50 Fathoms, Deadlands: Hell On Earth, Deadlands: Noir, East Texas University, Necessary Evil (requires Super Powers Companion), Pirates of the Spanish Main, Space 1889 (original file by Erich), Tour of Darkness, Weird War II, Weird Wars: Rome
Coming Eventually
Evernight (LWD has completed their review but I have some fixes to make first... although Pinnacle mentioned this might get an overhaul to SWADE so I may just wait for that first. If you just HAVE to have this now, though, just PM me)
zarlor is offline   #56 Reply With Quote