| Blockland Forums > Modification Help |
| Player Editing Item |
| (1/1) |
| Mr.Noßody:
Is there a way I could code a one use item that edits your players stats for a limited time (Speed, health) without changing the player-type, or have a way for the item to recall the last player-type you had so you don't lose your last player-type? If so, how would I go about it? |
| Extrude:
I'm almost 100% sure that this can only be done with playertypes. |
| Munkey:
--- Quote from: Extrude on August 14, 2011, 09:00:06 PM ---I'm almost 100% sure that this can only be done with playertypes. --- End quote --- It can. --- Code: ---%this.oldDatablock = %this.getDatablock(); %this.changeDatablock(ANewPlayerType); %this.changeDataBlock(%this.oldDatablock); --- End code --- |
| Mr.Noßody:
I know it CAN be done, I just want to know if I can be done without a player-type swap or how to recall the last player-type you had prior to item usage. |
| Amade:
Use support_altDatablocks. It's included in tier tactical, tier 2. |
| Navigation |
| Message Index |