Difference between revisions of "Talk:GetPCIsSex"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>TheImperialDragon
(question (== 1)?)
 
imported>JOG
(Yes, you can ommit" ==1" (or better ">0"))
 
Line 10: Line 10:
   Message "Now, you're a cute one..."
   Message "Now, you're a cute one..."
  endif
  endif
[[User:TheImperialDragon|The Imperial Dragon]] 13:07, 11 June 2006 (EDT)


:Yes, this is why I made those examples ;)
:See the "[[If]]"-page. (And the [[set]] page as well for some really tricky expressions)


[[User:TheImperialDragon|The Imperial Dragon]] 13:07, 11 June 2006 (EDT)
:--[[User:JOG|JOG]] 13:31, 11 June 2006 (EDT)

Latest revision as of 12:31, 11 June 2006

Do I have to put == 1 in the script line? Because in the examples, one ends in Male == 1 and the other ends in Female. Do they both work?

Examples:

If GetPCIsSex Male == 1
  Message "You're a Boy, George."
endif

If GetPCIsSex Female
  Message "Now, you're a cute one..."
endif

The Imperial Dragon 13:07, 11 June 2006 (EDT)


Yes, this is why I made those examples ;)
See the "If"-page. (And the set page as well for some really tricky expressions)
--JOG 13:31, 11 June 2006 (EDT)