RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
simple ?'s RESOLVED

0 Members and 1 Guest are viewing this topic.

***
Rep:
Level 87
man, how i wish there was a place that answered stupid ?'s like these, but:

1. what's the command you give the script to call a movie(.avi,.mpg,.wmv) file?

2. what's the value for a given party members position in the party (in terms of an integer)

3. what's the symbol used to mean "divisible by" in ruby script
« Last Edit: September 05, 2007, 08:39:46 PM by da good king »

pokeball WcWOfflineMale
***
Rep:
Level 87
2 + 2 is a math problem, NOT 4.
1.  Impossible.

2.  You have to know the actor's ID to access it in $game_party in the first place.

3.  None.  But there is
Code: [Select]
num = var1.to_f / var2.to_f
if not num.is_a?(Float)
  <do something>
end
If you are reading this, the government of the U.S.A. is currently planting a chip in your brain.
People like decreasing my Rep. In fact, people like decreasing most others people's rep.

*
Rep:
Level 87
I think 2. you could loop through $game_party.actors and compare the name with what you're after, if you know your character's name.  Bit messy though.

3. Use the modulus operator
if var1 % var2 == 0
  # var1 is divisible by var2
end
Always remember you're unique.
Just like everybody else.

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
1. Way to bothersome to be worth it... though you can try using the script Behemoth has made: http://www.phanxgames.com/forum/forum_posts.asp?TID=3912
2. actor.index

shaz answer the third question ^_^