Frictional Games Forum (read-only)

Full Version: how to make floor break when u go to a certain area
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13
how to make the grunt still spawn after he kills you?
how to get tat blue screen when u solved a puzzle?

(06-23-2014, 04:35 AM)Romulator Wrote: [ -> ]Is the player actually looking at the bookshelf when it falls? If not, you can make it look like it falls just by having another bookshelf in the desired position and calling the SetEntityActive() code - disabling the original and applying the fallen one.

tats wat i meant ty
(06-23-2014, 07:53 AM)victorkim890(KimmyChimmy) Wrote: [ -> ]how to make the grunt still spawn after he kills you?
This can be done with checkpoints. I don't know how to use them fully, but this should help: https://wiki.frictionalgames.com/doku.ph...riptarea_s


(06-23-2014, 07:53 AM)victorkim890(KimmyChimmy) Wrote: [ -> ]how to get tat blue screen when u solved a puzzle?

That would be a GiveSanity code.
Use either:
PHP Code:
GiveSanityBoost(); 
OR
PHP Code:
GiveSanityBoostSmall(); 
how to make the grunt go follow a path and disapear. i tried to do it but it didnt work
What part are you having trouble with?
the grunt doesnt follow the path. it just stays right there in one spot unless i go near it and itll start chasing me

im trying to do tat thing in tat custom story la caza the grunt just ignores everything and just follows the path
Make PATROL NODES in your level editor.
Then go to your script (hps) and add these (if you want you can add the AddEnemyPatrolNoded OnStart if you want the enemy to move as the map starts):
PHP Code:
AddEnemyPatrolNode("Yourmonster_1""PathNodeArea_1"0"");
AddEnemyPatrolNode("Yourmonster_1""PathNodeArea_2"0"");
AddEnemyPatrolNode("Yourmonster_1""PathNodeArea_3"0""); 
--
Do you have this or understand this?
---
At the end of the last patrol node easely add a SCRIPTAREA and name it : RemovemyEnemy :
PHP Code:
AddEntityCollideCallback("Yourmonster_1""RemovemyEnemy""JustRemovethePatrollingEnemy"true1); 
SCRIPT:
PHP Code:
void JustRemovethePatrollingEnemy(string &in asParentstring &in asChildint alState)
{
SetEntityActive("Yourmonster_1"false);

Ty figured it out
Your welcome.
for any other questions you might change the treadname..
just so we know it is another issue.
ill see
how do u do tat intro in abnormal pitchblack custom story?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13