I'm trying to figure out how I would add in random spell text like they had it in Final Fantasy Tactics.
Like if someone cast a spell like Posion for example
1 in 3 chance of it going
1. nothing
2. player name From the venom of the rattler I cast posion on mob name
3.player name Flips through his big book of spells and chants a view words as a cloud of posion engulfs mobs name.
How would I make this work
as in a say matter wher only the players in your party would see it.
ID:167286
Apr 4 2006, 11:27 am
|
|
In response to PirateHead
|
|
that don't really help I need something to work with like a smaple of how it would work so I will know.
|
In response to ForsakenSoul
|
|
He just told you...Do a switch statement, if(1) then do something, if(2) then do something else.
|
In response to Sniper Joe
|
|
I don't know how to do all that. I'm a semi-noob coder
|
In response to ForsakenSoul
|
|
No, your a very noob coder if you don't know how to output a message to the world or the usr.
Look. switch(rand(1,3)) |
In response to ForsakenSoul
|
|
Your're not just a "semi-newb" coder, your a beginner, I beleive it's covered in the DM guide on page 169.
|
switch(rand(5))
if(1)
if(2)
so on