Jump to content

Script in Wiki Does Not Work


David Brasher

Recommended Posts

There is a script in the wiki that does not compile:

 

float myDeadCount

kmyQuest.deadCount = 10 ;setting property

 

Source:

Variables and Properties

 

I am assuming that there is trick that they used to make their script compile. It does not seem like they would waste their time and our time by putting a script into the wiki that never compiles. So there must be some trick that they used to make it so their script could compile.

 

no viable alternative at input '='

What is that supposed to mean? It is the integer 10! Is Papyrus so stupid that it can't count that high? It is not like I have given it a decimal or something. I am sure that "float" would cover that range. It seems that Papyrus does not recognize "short." It does not work if I initialize with "int." I do not think it would require "long" for a number as low as 10.

Edited by David Brasher
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...