Frictional Games Forum (read-only)

Full Version: Need help on Script. Activate Ladder Area?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey i need some help on a script.
I want an emotion effect, With an text just like in the campaign.
Then i want there is gonna be a ladder active 'ladder script area'

But i know how to set an Entity Active but not an Script Area.

[Image: ank7jc.jpg]

Script here
Spoiler below!

void JakeStorageEmotion(string &in asArea)
{
StartEffectEmotionFlash("Messages", "JakesStorageEmotion", "ui_insanity_touch.snt");

SetEntityActive(JakeStorageEmotionArea, true);
}


Thanks for helping Wink
Setting a script area active is the exact same as a regular entity. Just

SetEntityActive("ScriptAreaName", true);

And make sure there are quotes "" around your entity name.
(06-05-2013, 05:50 PM)DeAngelo Wrote: [ -> ]Setting a script area active is the exact same as a regular entity. Just

SetEntityActive("ScriptAreaName", true);

And make sure there are quotes "" around your entity name.

It gives an error when i do it >.<

I was thinking about script area is not an entity.

Its says it is not declared or something.

Nevermind i am so stupid >.<