Author Topic: [XP] Average Actor Level  (Read 7847 times)

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6583
  • LV: 407
  • Gender: Male
    • View Profile
[XP] Average Actor Level
« on: August 30, 2009, 08:00:17 AM »
Average Actor Level
Authors: game_guy
Version: 1.0
Type: Level Add-On
Key Term: Actor Add-on

Introduction

What this script does is when you add an actor to the party instead of the actors level being 1 this will average the total level amount of the party and make it so the actor will have the same level area of the party.

Features

  • Makes new party member have level equal to party's averaged level
  • Easy to use
  • Makes it so you can still normally add actors without level averaging

Screenshots

N/A

Demo

Demo

Script

(click to show/hide)

Instructions

In the script.

Compatibility

Should work with everything.
Not tested with SDK

Credits and Thanks

  • game_guy ~ for making it

Author's Notes

Give credits and enjoy.

This can be easily evented but who cares this makes it easier.
« Last Edit: September 02, 2009, 01:23:13 AM by game_guy »

Offline Starrodkirby86

  • Kirby de Varita Estelar
  • Guardian of Chaos
  • ********
  • Posts: 3282
  • LV: 194
  • Gender: Male
  • ~!
    • View Profile
    • The Archive of Starrodkirby86
Re: [XP] Average Actor Level
« Reply #1 on: August 30, 2009, 09:11:57 AM »
Cool script bro, but...can't this be Evented easily?

Set Variable 001 to Actor 01's level
Add Actor 02's level to Variable 001
Add Actor 03's level to Variable 001
Divide Variable 001 by 3
Add New Party Member
Subtract Variable 001 by One (This is because the Party Member will be Level 1)
Set Level of New Party Member by Variable 001

...I guess?

I can see some uses where this script beats eventing though, mainly on parts where Party member count cannot be determined.

What's osu!? It's a rhythm game. Thought I should have a signature with a working rank. ;P It's now clickable!
Still Aqua's biggest fan (Or am I?).



Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6583
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] Average Actor Level
« Reply #2 on: August 30, 2009, 09:44:28 AM »
Yea but didnt you see the side notes in the script? Maybe I should add those.

Online Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19867
  • LV: 641
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Average Actor Level
« Reply #3 on: August 30, 2009, 11:16:59 AM »
This can be easily evented but who cares this makes it easier.

Lol, beat me to it. I wanted to say that. xD

It does makes things easier if you don't know who's in your party, though.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Reno-s--Joker

  • Astral Trancist
  • *****
  • Posts: 674
  • LV: 34
  • Gender: Female
  • Zombie account.
    • View Profile
    • My DeviantART
Re: [XP] Average Actor Level
« Reply #4 on: February 09, 2011, 03:28:07 AM »
Cool script G_G! Wish I'd found this earlier.
Hope you don't mind if I use this ~ ^_^

Offline ForeverZer0

  • CP's Pedophile
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3248
  • LV: 294
  • Gender: Male
  • Remember you are unique, just like everyone else.
    • View Profile
Re: [XP] Average Actor Level
« Reply #5 on: February 09, 2011, 04:31:04 AM »
Necropost achieved!
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Offline Reno-s--Joker

  • Astral Trancist
  • *****
  • Posts: 674
  • LV: 34
  • Gender: Female
  • Zombie account.
    • View Profile
    • My DeviantART
Re: [XP] Average Actor Level
« Reply #6 on: February 11, 2011, 02:35:57 AM »
Oh god you're right.