I can not save my script attribute pawn, when I give in save game and then load the attribute appears in 100 health again.
Any suggestions?
Search found 108 matches
- Fri Jul 17, 2015 9:39 pm
- Forum: RF Scripting
- Topic: Save Attribures SaveGame?
- Replies: 1
- Views: 4703
- Fri Jul 17, 2015 5:57 pm
- Forum: RF Scripting
- Topic: Pawn is damaged by falling ?
- Replies: 7
- Views: 5004
Re: Pawn is damaged by falling ?
CaidaAfectaSalud[() { ALTURA = Jugador.GetCollideDistance("Estomago",0,-128,0); if(Jugador.IsFalling) { if(ALTURA= -1) { DAMAGE = true; } } else { if(DAMAGE=true) { Jugador.SetAttribute(VIDA,Jugador.GetAttribute(VIDA,"Jugador")-40,"Jugador"); DAMAGE=false; } } }] And m...
- Thu Jul 16, 2015 5:40 pm
- Forum: RF Scripting
- Topic: Pawn is damaged by falling ?
- Replies: 7
- Views: 5004
Re: Pawn is damaged by falling ?
Ok, no problem. If not the best way , two attributes with the same name, one created in the file to the player player.ini default one created in the script for the pawn , and when the attribute changes pawn revalued player of the default attribute . ; Player.ini ; Health [VIDA] initial = 0 low = 0 h...
- Thu Jul 16, 2015 5:01 pm
- Forum: RF Scripting
- Topic: Pawn is damaged by falling ?
- Replies: 7
- Views: 5004
Re: Pawn is damaged by falling ?
Jugador { // ------------------------------------------------- // Nombre Fichero : Jugador.s. // Nombre Projecto : Pawn. // Sitio Web : http://www.iris3dgames.com // Scripter : Yue Rexie // Fecha : 07 - Jul - 2015 // ------------------------------------------------- // Notas : Fichero encargado de ...
- Tue Jul 14, 2015 4:25 pm
- Forum: RF Scripting
- Topic: Pawn is damaged by falling ?
- Replies: 7
- Views: 5004
Re: Pawn is damaged by falling ?
Thank you very much :) I have another concern : As I can assign a Hud to an attribute of a Pawn , as I am working with Player Script do not know how to relate the content of the greeting attribute have assigned to the Pawn by AddAttribute ( ... ) , to be updated in one HUD. http://i57.tinypic.com/r8...
- Sat Jul 11, 2015 5:42 pm
- Forum: RF Scripting
- Topic: Pawn is damaged by falling ?
- Replies: 7
- Views: 5004
Pawn is damaged by falling ?
As I can make a Pawn takes damage from a height to fall. If you are jumping from a height that does not suffer damage, but it is very high breaking legs and harm.
Any suggestions?
Any suggestions?
- Thu Jul 09, 2015 10:59 pm
- Forum: RF Scripting
- Topic: Player Script Jump?
- Replies: 1
- Views: 2605
Re: Player Script Jump?
Ok, no problem. :D // Pawn Jump. if((Jugador.IsKeyDown(Camara.Input.Key.ESPACIO)=true) and (Camara.Config.Jugador.SALTA=false)) { if (Camara.Config.Jugador.SALTA = false) { Jugador.ForceUp(50); } Camara.Config.Jugador.SALTA = true; } if((Jugador.IsKeyDown(Camara.Input.Key.ESPACIO)=false) and (Camara...
- Thu Jul 09, 2015 7:22 pm
- Forum: RF Scripting
- Topic: Player Script Jump?
- Replies: 1
- Views: 2605
Player Script Jump?
Hello, it failed to set a script for my player skip to precionar the space key. The idea is to do it as the default player, the trecla is preciona this jump and although it has the key pressed, the jump occurs again when I release the space key and pressed again. Any suggestions, I've been using For...
- Wed Jul 08, 2015 3:40 pm
- Forum: Level Design & Entity Usage
- Topic: Free camera default player
- Replies: 2
- Views: 4224
Re: Free camera default player
https://youtu.be/llhQWuY7K4c Jugador { // ------------------------------------------------- // Nombre Fichero : Jugador.s. // Nombre Projecto : Pawn. // Sitio Web : http://www.iris3dgames.com // Scripter : Yue Rexie // Fecha : 07 - Jul - 2015 // ------------------------------------------------- // N...
- Tue Jul 07, 2015 10:04 pm
- Forum: Level Design & Entity Usage
- Topic: Free camera default player
- Replies: 2
- Views: 4224
Free camera default player
Is there any way to use the default player with a free camera to move only in certain cases with mouse actions. I can do it with a script player, however I can gain a lot of productivity if they managed to do this with the player by default, where if the jugdor this default the camera is always behi...
- Tue Jul 07, 2015 12:21 am
- Forum: Game Designs
- Topic: Pawn Game
- Replies: 53
- Views: 21408
- Mon Jul 06, 2015 11:13 pm
- Forum: Level Design & Entity Usage
- Topic: Help with entity ModelAttributes.
- Replies: 11
- Views: 5616
Re: Help with entity ModelAttributes.
Ok, no problem. // Orden de actualizacion. Update[() { Jugador.SetAttribute("SaludPawn",Jugador.GetAttribute("SaludPawn","Jugador"),"Player"); Gorra.LuzLinterna(); // Encender y apagar linterna. Jugador.RotacionPersonaje(); // Rotando personaje. Jugador.Movimi...
- Mon Jul 06, 2015 10:15 pm
- Forum: Level Design & Entity Usage
- Topic: Help with entity ModelAttributes.
- Replies: 11
- Views: 5616
Re: Help with entity ModelAttributes.
No change health as soon as this player on lava. Modify attribute the entity does not work here .
- Mon Jul 06, 2015 5:05 pm
- Forum: Level Design & Entity Usage
- Topic: Help with entity ModelAttributes.
- Replies: 11
- Views: 5616
Re: Help with entity ModelAttributes.
I can not make this work .
I need that when you stand above the lava, its attribute decienda health. What am I doing wrong?
- Sun Jul 05, 2015 4:33 am
- Forum: Level Design & Entity Usage
- Topic: Help with entity ModelAttributes.
- Replies: 11
- Views: 5616
Re: Help with entity ModelAttributes.
In my tests of learning, I realize that the model ATTRIBUTES entity is only for hollow models. Where to put it so utomatica on stage and his property is set for example in "Water," the character to be walked in contact with the ground heard the steps, but if this character jump, the sound ...