Frictional Games Forum (read-only)

Full Version: Quick answers to quick questions...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi, im brazilian. sorry for bad english '-'

so,

How to do when a song ends, keep repeating?
and, as it does to such a monster. when you die it does not disappear in? cause if you go back to the script that activates the second time turn it back

Thank you =D
It has been quite a while since I last scripted but I think what you´re looking for if you use PlayMusic(string& asMusicFile, bool abLoop, float afVolume, float afFadeTime, int alPrio, bool abResume);
for your script, you should put abLoop to true.
oh, works, ty.

but now, for example: I travel through by an active ScriptArea where are the water monster, and to her from dying when I came back he would not be more, and do not want it, I want every time I die for him, he remains there, so how i do this? :3
first, set the waterlurker "inactive". then in the scriptarea you placed, have it spawn. go into the script and where it says "AddEntityCollideCallback("Player", "SCRIPTAREA", "monster_function", false, 1)"... make sure it says FALSE. This will allow the scriptarea to remain active and after death, the monster will spawn again once the player goes through it.

Hope this fixed it! =]
holy sh*t, works, thank you so much =)
(11-11-2011, 11:52 PM)sasukeroxxx Wrote: [ -> ]holy sh*t, works, thank you so much =)
=D Glad to help!
one more question ... :B how have I let a MonsterGrunt invisible?
(11-12-2011, 02:09 AM)sasukeroxxx Wrote: [ -> ]one more question ... :B how have I let a MonsterGrunt invisible?
like... an invisible monster? or the waterlurker?

If you want an invisible monster, you're going to have to go into the Model Editor and switch the monster's material with one with a blank, transparent .png... It is a bit of a process, but necessary.
oh, and to make the steps of waterlurker are on firm ground, make it look like they are on land, without showing the effects of water, it is ParticleSystems or something? Thanks !
(11-12-2011, 03:56 AM)sasukeroxxx Wrote: [ -> ]oh, and to make the steps of waterlurker are on firm ground, make it look like they are on land, without showing the effects of water, it is ParticleSystems or something? Thanks !
Never actually played around with a water lurker yet, but I WILL for my campaign. But as far as the particle systems, yes. That's my best guess.

Pages: 1 2