• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Custom ATtributes

Status
Not open for further replies.

Dop

Dop

Level 1
Joined
Oct 9, 2011
Messages
4
Heyyy guys. i was wondering how do u create a window or some visual base for a set of values? i want to create an RPG system form scratch and every hero would have different Attributes then the WC ones. Like STrength Dexterity, STamina and so on.I wouldnt have much difficulty in setting what these attributes did, if only i had a way to set these variables as real values that can be seen on some window or something! thank you in advance. If you dont understand plz post ill try to explain better
 
Level 7
Joined
Apr 1, 2010
Messages
289
for displaying the values you would use a multi-board.
For saving the values you would use an integer(or real) array.
and you would want to either have it update when the hero's level up or have it update when the hero learns a new skill.
and for showing the values to each player create a multi-board for each player and then do
  • Multi Board Custom Script: if GetLocalPlayer() == Player 1 then
    • Multiboard - Show P1Multiboard
    • Custom Script: elseif GetLocalPlayer == Player2 then
      • etc...
    • Custom Script: endif
 
Status
Not open for further replies.
Top