Can you describe the behavior you're referring to? For those who can't remember the game off the top of our heads.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: CaptainD on Wed 08/05/2013 14:58:30Quote from: Radiant on Wed 08/05/2013 14:44:20
Well, you could get beta access for the inevitable sequel...
Don't you mean squeaker access?
if (!player.HasInventory(player.ActiveInventory))
player.ActiveInventory = null;
function on_key_press (eKeyCode keycode) {
if (Queue.Playing()) { // If an interaction is playing
if (keycode == eKeySpace) {
if (oSpeech.Valid) { // If speech is currently displayed
if (t == p) // If it's the last command in the series of commands for the interaction
Queue.Stop (eQueue_Reset); // Stop the interaction
else {
Queue.Stop (eQueue_DontReset); // Skip the current line of speech
Queue.Resume ();
} }
ClaimEvent ();
}
if (keycode == eKeyEscape) {
if (player.Moving)
SkipUntilCharacterStops (player.ID); // If the move command is part of a scripted command
else {
Queue.Stop(); // Stop the current interaction
ClaimEvent ();
} }
}
else if (keycode == eKeyEscape)
SkipUntilCharacterStops (player.ID); // If the move command is a mouse command
}
int x = (7 / 15) * 40;
int LUCK = 1; //may have a value of 1 to 100
bool LuckSuccess;
float VARIABLE = 0.0025;
function TryYourLuck (int difficulty) {
if ((((IntToFloat(LUCK) * IntToFloat(LUCK) * VARIABLE) + 5.0)
* (100.0/IntToFloat(difficulty))) >= IntToFloat(Random(100)))
LuckSuccess = true;
}
int LUCK = 1; //may have a value of 1 to 100
float VARIABLE = 0.0025;
bool TryYourLuck (int difficulty) {
if ((((IntToFloat(LUCK * LUCK) * VARIABLE) + 5.0)
* (100.0/IntToFloat(difficulty))) >= IntToFloat(Random(100)))
return true;
}
if (TryYourLuck(10)) { // If the player won
//code here
}
else { // If the player lost
//code here
}
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.134 seconds with 15 queries.