OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Arctic on 04 Oct 2002, 00:19:16

Title: hint format error
Post by: Arctic on 04 Oct 2002, 00:19:16
I am working on a script that will allow a player to be an FAC for MP games. Basically, it just shoots smoke at a target so friendly player-controlled A/C can find the enemy you need vaped.

The error I am recieving is a hint format error. The thing sort of works like toadlife's airstrike script's hint box. (Actually, it basically is the same ;) )

This is my line:
hint format ["Target: %1", target]

in my test mission, I recieve a wierd message in the hint box. It says:

Target: scalar bool array string 0xffffffef

I don't know what this means!  :help:
---------------------------

PS: I think this script will be cool. Especially in the MP mission I am working on. (LOL, i'm sorta talking to myself here  :P )
Title: Re:hint format error
Post by: Gameer_77 on 04 Oct 2002, 00:38:24
It means there is nothing in the variable. Add a value like target=billy and it should work. :)

 8)PEACE
Title: Re:hint format error
Post by: uiox on 04 Oct 2002, 00:49:15
Right mate

Pax  ::)