Difference between revisions of "AGIWiki/said"

Jump to navigation Jump to search
No change in size ,  20:51, 11 May 2016
Fix syntax highlighting
m
(Fix syntax highlighting)
Line 5: Line 5:


== Syntax ==
== Syntax ==
<syntax type="C++">
<source lang="cpp">
said(WORDGRPNUM1, WORDGRPNUM2, ...)
said(WORDGRPNUM1, WORDGRPNUM2, ...)
said("word1", "word2", ...)
said("word1", "word2", ...)
</syntax>
</source>


== Description ==
== Description ==
Line 51: Line 51:


== Example ==
== Example ==
<syntax type="C++">
<source lang="cpp">
  if (said(2124)) {  //assume word number 2124 = "look")
  if (said(2124)) {  //assume word number 2124 = "look")
   print("You look around.");
   print("You look around.");
Line 68: Line 68:
   print("Ignore that.");
   print("Ignore that.");
  }
  }
</syntax>
</source>
== Technical Information ==
== Technical Information ==


TrustedUser
2,147

edits

Navigation menu