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.
Addressing Actors in Script?

0 Members and 1 Guest are viewing this topic.

***
Rep:
Level 82
We learn by living...
is there a way to directly address actors or character classes using script?

I have some ideas for stats, skills, and classes, but I want to address specific character names or classes (like a wizard or fighter) without effecting the other classes.

****
Rep:
Level 83
Can't you do that in the data base?  Or is that not what your talking about.
Spoiler for:
METALFRESH is a paint contractor that specializes in refinishing metal and vinyl siding. We paint metal buildings as well as siding on homes.

We also

    Refinish decks
    Do custom interior painting
    Strip wallpaper
    Refinish cedar siding
    Metal front doors and sidelights
    Metal garage and service doors
    Grained fiberglass doors

    If your structure is *RUSTED *FADED *CHALKING *IN NEED OF COLOR CHANGE, we can fix it with a guarentee!

northern Illinois and southern Wisconsin.

http://metalfreshcoatings.com


***
Rep:
Level 82
We learn by living...
if i create a new character class like Blue Mage and I want to have special effects targeting them, what do I have to do?

Here's a fake code for example.

if blue mage (gets hit by [current monster].[current monster attack])
then [dice % verses 5%
(if dice <6%
then [add [current monster].[current monster attack] to blue mage.[skill list])
else
[null]

Basically I'm wondering how player character classes or player character names are directly addressed in the Script.

********
Hungry
Rep:
Level 96
Mawbeast
2013 Best ArtistParticipant - GIAW 11Secret Santa 2013 ParticipantFor the great victory in the Breakfast War.2012 Best Game Creator (Non-RM Programs)~Bronze - GIAW 9Project of the Month winner for December 2009Project of the Month winner for August 20082011 Best Game Creator (Non RM)Gold - GIAW Halloween
if $game_party.actors[id].class == "blue mage" then
// code
end

or something like that, that's just pseudocode I pulled out of my ass real quick.

Short answer, yes, you can, there's the $game_actors and $game_party classes you can access to fetch actor information.

also blue magic has been done

FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon