Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help on Script. Activate Ladder Area?
VeNoMzTeamHysterical Offline
Member

Posts: 240
Threads: 36
Joined: Dec 2012
Reputation: 3
#1
Need help on Script. Activate Ladder Area?

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

http://www.frictionalgames.com/forum/thread-21719.html
Evil Awaking Work In Progress!
Hours Spend 472.
(This post was last modified: 06-05-2013, 06:21 PM by VeNoMzTeamHysterical.)
06-05-2013, 05:42 PM
Website Find
DeAngelo Offline
Senior Member

Posts: 263
Threads: 26
Joined: Feb 2013
Reputation: 11
#2
RE: Need help on Script. Activate Ladder Area?

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.

A Late Night Drink http://www.moddb.com/mods/a-late-night-drink
Check out my LP channel, CatBearGaming, I take all Custom Story requests!
(This post was last modified: 06-05-2013, 05:50 PM by DeAngelo.)
06-05-2013, 05:50 PM
Find
VeNoMzTeamHysterical Offline
Member

Posts: 240
Threads: 36
Joined: Dec 2012
Reputation: 3
#3
RE: Need help on Script. Activate Ladder Area?

(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 >.<

http://www.frictionalgames.com/forum/thread-21719.html
Evil Awaking Work In Progress!
Hours Spend 472.
(This post was last modified: 06-05-2013, 06:07 PM by VeNoMzTeamHysterical.)
06-05-2013, 05:55 PM
Website Find




Users browsing this thread: 1 Guest(s)