Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to (merge)
Author Message
seafish
Apprentice
*

Posts: 21
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2013
Reputation: 0



Post: #1
How to (merge)
Hello!
Tell me please I want to know, how to add:
Code:
ref1=<argo>
    local.more1=<ref1.more1>
    local.mob= <strsub 3 4 <local.more1>>
    local.mob= c_elem_<local.mob>
    call f_earth_mob_spawn

correctly to:

Code:
ON=@ResourceFound
IF (<SRC.Mining> >= 100.0) && (RAND(200)==1)
      ARGO.MORE=mr_mario
   ELIF (<SRC.Mining> >= 99.0) && (RAND(175)==2)
      ARGO.MORE=mr_pokemon
lalala
11-04-2013 04:55 AM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: How to (merge)
The first piece of code sets up elementals to be summoned when mining.
The second you have there sets a random chance of a different nintendo game character mining resource if the mining skill is met.

Not sure exactly what you are trying to achieve

[Image: 2nis46r.jpg]
11-04-2013 06:13 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
seafish
Apprentice
*

Posts: 21
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2013
Reputation: 0



Post: #3
RE: How to (merge)
heh, ye I would like to put first piece of code to second, its possible?
11-04-2013 06:24 AM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #4
RE: How to (merge)
given that both exist under the same trigger yes.
Though if you expect it to create an elemental for your new resources you will have to script the actual elemental so that it can be summoned, also it would be under more1 not more

[Image: 2nis46r.jpg]
11-04-2013 06:43 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
seafish
Apprentice
*

Posts: 21
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2013
Reputation: 0



Post: #5
RE: How to (merge)
thank you for respond!
11-04-2013 07:08 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)