Zesstra | 1862697 | 2017-01-31 10:38:27 +0100 | [diff] [blame] | 1 | SetRealAttribute() |
| 2 | ================== |
| 3 | |
| 4 | FUNKTION |
| 5 | -------- |
| 6 | :: |
| 7 | |
| 8 | int SetRealAttribute(string attr, int val) |
| 9 | |
| 10 | DEFINIERT IN |
| 11 | ------------ |
| 12 | :: |
| 13 | |
| 14 | /std/living/attributes.c |
| 15 | |
| 16 | ARGUMENTE |
| 17 | --------- |
| 18 | :: |
| 19 | |
| 20 | attr - zu setzendes Attribut |
| 21 | val - Wert |
| 22 | |
| 23 | BESCHREIBUNG |
| 24 | ------------ |
| 25 | :: |
| 26 | |
| 27 | Setzt den realen Wert des Attributes, d.h. das reine Attribut, |
| 28 | wenn moeglich. Lediglich eine Alias-Methode fuer SetAttr(). |
| 29 | (QueryAttribute() gibt also val + etwaige Offsets/Modifier zurueck) |
| 30 | |
| 31 | RUeCKGABEWERT |
| 32 | ------------- |
| 33 | :: |
| 34 | |
| 35 | Den gesetzten Wert. |
| 36 | |
| 37 | BEMERKUNGEN |
| 38 | ----------- |
| 39 | :: |
| 40 | |
| 41 | Bitte nicht auf Spieler anwenden! |
| 42 | |
| 43 | SIEHE AUCH |
| 44 | ---------- |
| 45 | :: |
| 46 | |
| 47 | QueryAttribute(), QueryRealAttribute(), QueryAttributeOffset(), |
| 48 | SetAttribute(), SetRealAttribute(), UpdateAttributes(), |
| 49 | SetTimedAttrModifier(), QueryTimedAttrModifier(), |
| 50 | DeleteTimedAttrModifier(), |
| 51 | P_ATTRIBUTES, P_ATTRIBUTES_OFFSETS, P_TIMED_ATTR_MOD, |
| 52 | P_X_ATTR_MOD, P_M_ATTR_MOD, /std/living/attributes.c |
| 53 | |
| 54 | Last modified: Tue Jul 27 20:00:20 2004 by Muadib |
| 55 | |