Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Script help
Post: RE: Script help
(12-13-2013, 12:12 AM)daortir Wrote: Try removing the 1 in your callback. Make it
AddEntityInteractCallback("Player", "livingkey", "monsterspawn", true);
If it works you owe me a cookie.
Nope
[Im... |
|
Steelen |
Development Support
|
16 |
16,957 |
12-13-2013, 08:48 AM |
|
|
Thread: Script help
Post: RE: Script help
(12-13-2013, 12:02 AM)daortir Wrote: Also, void monsterspawn should say void monsterspawn(string &in asEntity).
Try that maybe ?
Same error |
|
Steelen |
Development Support
|
16 |
16,957 |
12-13-2013, 12:06 AM |
|
|
Thread: Script help
Post: RE: Script help
(12-12-2013, 10:21 PM)daortir Wrote: AddEntityCallback doesn't exist if I am correct. Try replacing it with AddEntityInteractCallback.
I got the same error but instead of saying the AddEntityCallbac... |
|
Steelen |
Development Support
|
16 |
16,957 |
12-12-2013, 11:44 PM |
|
|
Thread: Script help
Post: Script help
The code:
Code:void OnEnter()
{
AddEntityCallback("Player", "livingkey", "monsterspawn", true, 1);
PlayMusic("amb_soft_mood", true, 1, 0.1f, 0, true);
AutoSave();
}
void monsterspawn()
{
SetEntityAct... |
|
Steelen |
Development Support
|
16 |
16,957 |
12-12-2013, 10:15 PM |